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
Enums are generated in models when referencing an enum, instead of just referencing the type, causing collision, and build failure. The enum is generated twice.
👍 Thanks for opening this issue!
🏷 I have applied any labels matching special text in your issue.
The team will review the labels and make any necessary changes.
edag94
changed the title
[BUG] [aspnetcore] Enums are generated in models when referencing an enum, causing collision
[BUG] [aspnetcore] Duplicate Enums are being generated rather than enum type being referenced in model
Aug 9, 2019
Bug Report Checklist
Description
Enums are generated in models when referencing an enum, instead of just referencing the type, causing collision, and build failure. The enum is generated twice.
openapi-generator version
4.0.3
OpenAPI declaration file content or url
Command line used for generation
openapi-generator generate -i OpenApi2Docs/openapi.yml -g aspnetcore -o codegen/labelingOA3/server -c serverConfig.json
Steps to reproduce
Run command in cli
####Expected Output
####Actual Output
The text was updated successfully, but these errors were encountered: