swagger-api / swagger-api/swagger-codegen

inflector codegen incorrect swagger-inflector version and swagger file name

Open
#1,640 4 comments 0 reactions 0 assignees View on GitHub

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.

  1. 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
  2. scan target is using src/main/swagger/swagger.yaml yaml file name where as generated code with file name swagger.json.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.