openapi-generator icon indicating copy to clipboard operation
openapi-generator copied to clipboard

[REQ] generatedConstructorWithRequiredArgs also for java generator

Open cpgerber opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe.

Se ticket #15494

Describe the solution you'd like

The generatedConstructorWithRequiredArgs should also work for the java generator, currently only seems to be supported in the spring generator.

Describe alternatives you've considered

none.

Additional context

cpgerber avatar Oct 20 '23 10:10 cpgerber

+1 when generating client libraries for spring, I am unable to annotate model classes using lombok.Builder due to constructor conflicts. It is not possible to use RequiredArgsConstructor and NoArgsConstructor because there are conflicts with all of the existing no args constructors already

kevin1chun avatar May 07 '24 00:05 kevin1chun