swagger-api / swagger-api/swagger-codegen
Generated code not compiled upon updating yaml file and doing mvn compile
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
I am following the issue which is currently closed.
https://github.com/swagger-api/swagger-codegen/issues/4707
Here as per the suggestion it's not oveeridding the impl and generated codes. But now if I am updating the yaml file and want to compile it then it's not compiled.
- mvn clean install
--- generating codes.. - Updated yaml file
- mvn compile
--- skip overwrting to all the previous generated codes.
To make changes, do I need the fresh build by mvn clean compile every time?
mvn compile is not working. Please suggest.
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 by reading the linked issue 4707 and reproducing the two command sequences: mvn clean install after the initial YAML generation, then mvn compile after editing the YAML. Done means the expected regeneration behavior is established and the issue has a clear resolution for whether a clean build is required.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100