You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Command to generate the code: java -jar openapi-generator-cli-6.3.0-20221110.220613-11.jar generate -i modules/openapi-generator/src/test/resources/3_0/java/petstore-group-parameter.yaml -g spring -o test
Bug Report Checklist
Description
When I run code generation for a Java Spring Api, the description is missing in the
@Operation
annotation.openapi-generator version
The bug occurs with the latest openapi-generator version.
OpenAPI declaration file content or url
The bug can be reproduced for example with this file: https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator/src/test/resources/3_0/java/petstore-group-parameter.yaml
Generation Details
Command to generate the code:
java -jar openapi-generator-cli-6.3.0-20221110.220613-11.jar generate -i modules/openapi-generator/src/test/resources/3_0/java/petstore-group-parameter.yaml -g spring -o test
Steps to reproduce
Run the code generation command from above.
Output:
Expected output:
Related issues/PRs
The bug has already been reported with the closed issue #11779, but the fix was not correct as mentioned in the discussion.
Suggest a fix
PR with a fix: #13995
The text was updated successfully, but these errors were encountered: