swagger-api / swagger-api/swagger-codegen
inflector codegen incorrect swagger-inflector version and swagger file name
Open
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Swagger Codegen with -l inflector option generating code with incorrect pom.xml file.
- it is using swagger-inflector version 1.0.0-SNAPSHOT, which is not in the maven repo. it should be changed to 1.0.0
- scan target is using src/main/swagger/swagger.yaml yaml file name where as generated code with file name swagger.json.
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
Search the inflector code-generation templates for the generated pom.xml, the swagger-inflector version, and the scanTarget path. Verify the template output against the stated swagger.yaml and swagger.json names; done means the Maven version resolves and scanTarget matches the generated file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi
- Domain
- api, tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100