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
setting enumPropertyNaming to camelCase reverts the behavior introudced in #18062. However, I'm leaving this issue open because original should not generate invalid code.
Bug Report Checklist
Description
A spec with an empty enum entry no longer generates a valid enum in kotlin code.
openapi-generator version
7.4.0, also 7.5.0
OpenAPI declaration file content or url
Generation Details
will generate this kotlin code:
which has the invalid first entry. Previously this (in 7.3.0) this would generate the following:
with the
eMPTY
entry.here is my
openApiGenerate
taskSteps to reproduce
Run the generation on the yaml.
Related issues/PRs
#18062
Suggest a fix
Should revert the enum generation changes or provide guidance on fixing the breaking change.
The text was updated successfully, but these errors were encountered: