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
Enum properties containing default value are generated with a bad name that results in build errors.
The default value is set to _, where it should be .. to work correctly:
exportclassFruit{'fruit'?: Fruit.FruitEnum=FruitEnum_Apple;// should be Frute.FruitEnum.Apple exportnamespaceFruit{exportenumFruitEnum{Melon=<any>'melon',Apple=<any>'apple'}}
Bug Report Checklist
Description
Enum properties containing default value are generated with a bad name that results in build errors.
The default value is set to _, where it should be .. to work correctly:
openapi-generator version
6.0.0
OpenAPI declaration file content or url
Generation Details
I generated the client using:
Steps to reproduce
Related issues/PRs
Suggest a fix
I'm working on a fix that I'll attach shortly.
The text was updated successfully, but these errors were encountered: