OpenAPITools / OpenAPITools/openapi-generator
[BUG][JAVA] generateBuilders config not working or being ignored
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 26.8k
- Forks
- 7.7k
- PR merge metrics
- PR metrics pending
Description
Description
Setting the Java generateBuilders config to "true" is not generating the model's Builder functions. Are there specific dependencies or plugins that need to be included for this to work? The documentation does not specify any requirements.
openapi-generator version
Using version 6.6.0
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 with the Java generator configuration documentation and reproduce the report using OpenAPI Generator 6.6.0 with generateBuilders set to true. Check whether generated models contain the expected Builder functions and identify any required dependency or plugin; the issue is done when the behavior works or the documentation states the requirements clearly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, openapi
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100