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
I inherited a work project using Swagger and OpenAPI. When updating the classes with openapi-generator-cli , the DTO data classes have unwanted / unneeded { } at the end of the file:
data class MyModelRequestDto (
...
) {
}
openapi-generator version
I'm using openapi-generator-cli-7.9.0 (previous one was 7.4.0).
OpenAPI declaration file content or url
This is the script the previous developer used to launch the generator:
Bug Report Checklist
Description
I inherited a work project using Swagger and OpenAPI. When updating the classes with openapi-generator-cli , the DTO data classes have unwanted / unneeded { } at the end of the file:
openapi-generator version
I'm using openapi-generator-cli-7.9.0 (previous one was 7.4.0).
OpenAPI declaration file content or url
This is the script the previous developer used to launch the generator:
Generation Details
Nothing to declare (I suppose).
Steps to reproduce
Update generator from a previous version.
Launch the script .sh above.
See issues on data classes.
Related issues/PRs
Didn't find any similar issues by searching with "kotlin", "data class", "{" keywords.
Suggest a fix
The text was updated successfully, but these errors were encountered: