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
[Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
In Java Spring generator: Inconsistent and nonconventional use/absence of spaces in method signatures in generated *Api.java.
Generated:
defaultResponseEntity<Void> addPet(@ApiParam(value = "Pet object that needs to be added to the store" ,required=true ) @Valid@RequestBodyPetbody) {
returnnewResponseEntity<>(HttpStatus.NOT_IMPLEMENTED);
}
Should be:
defaultResponseEntity<Void> addPet(@ApiParam(value = "Pet object that needs to be added to the store", required = true) @Valid@RequestBodyPetbody) {
returnnewResponseEntity<>(HttpStatus.NOT_IMPLEMENTED);
}
Bug Report Checklist
Description
In Java Spring generator: Inconsistent and nonconventional use/absence of spaces in method signatures in generated *Api.java.
Generated:
Should be:
openapi-generator version
5.2.1, master
Generation Details
gradle task config, using downloaded https://petstore.swagger.io/v2/swagger.json
Steps to reproduce
generate and see *Api.java classes
Suggest a fix
adjust templates in src/main/resources/JavaSpring
The text was updated successfully, but these errors were encountered: