[aspnetcore] How to remove the 'Enum' in generated Enum Models? #11062
Unanswered
MalteBecker
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We try to generate a Server for aspnetcore, which works pretty fine, but sadly we have an problem.
When generating an enum schema an 'Enum' is added after every item name.
swagger-codegen-cli-version: 3.0.25
Here is an example:
And the Result:
How can i get rid of the 'Enum', so i have Cat, Dog, Mouse instead of CatEnum, DogEnum, MouseEnum. I had a look to other languages, like csharp or java. There it is generated without the 'Enum'.
Thanks for your help.
Beta Was this translation helpful? Give feedback.
All reactions