swagger-api / swagger-api/swagger-codegen-generators
jaxrs-spec Not heeding apiPackage or modelPackage (io.swagger.api|model, despite cfg)
Open
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 299
- Forks
- 439
- PR merge metrics
- No merged PRs in 30d
Description
Seems to be a direct result of
apiPackage = "io.swagger.api";
modelPackage = "io.swagger.model";
being AFTER
super.processOpts();
in JavaJAXRSSpecServerCodegen.java:78
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at JavaJAXRSSpecServerCodegen.java:78 and inspect the ordering of apiPackage and modelPackage assignments relative to super.processOpts(). Reproduce the issue with the configuration shown in the report and verify that generated API and model packages honor those configured values instead of the defaults.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100