swagger-api / swagger-api/swagger-codegen
[Java] Generate Lombok @Value instead of POJO
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Description
This enhancement would allow generation of models using Lombok's @Value annotation instead of a POJO with getters and setters.
Swagger-codegen version
2.1.6
Please vote for this issue if interested or comment if you are planning a PR on this.
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
The issue names no files, tests, or entry points, so first locate the Java model-generation templates and configuration path. Confirm how Swagger Codegen 2.1.6 selects generated model styles. Done means an explicit generation path produces models annotated with Lombok @Value instead of POJO getters and setters, with tests covering the result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100