Open papatil-mdsol opened 7 months ago
Hi! I do agree that having an option of generating DTOs would be a wonderful feature. I believe this feature request has already been proposed here: https://github.com/OpenAPITools/openapi-generator/issues/10490
Is your feature request related to a problem? Please describe.
Yes, current code generators do not support Java Records (JEP 395) for model or dto generation.
Describe the solution you'd like
Open API Generator should provide an option to configure Model or DTO generation using Java Records (JEP 395)
Describe alternatives you've considered
openapi-processor-maven-plugin currently supports this feature but has less community support. Considering this, OpenAPITools should include this feature in openapi-processor-maven-plugin and openapi-processor-graddle-plugin.
Additional context