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
I'm trying to generate a groovy model from an openapi spec. Sadly enums are always generated es an empty class. If I use the java generator I get a correct enum with all the defined values inside. So my guess is there is a bug in the groovy generator.
Description
I'm trying to generate a groovy model from an openapi spec. Sadly enums are always generated es an empty class. If I use the java generator I get a correct enum with all the defined values inside. So my guess is there is a bug in the groovy generator.
My schema looks like this:
and the generated groovy code looks sadly like this:
I was expecting something like:
openapi-generator version
6.2.1
OpenAPI declaration file content or url
Generation Details
I use the maven plugin. These are my settings:
Steps to reproduce
Use the groovy generator to generate models from an openapi spec with enums
Related issues/PRs
I could not find any...
Suggest a fix
Usable enums please 🙂
The text was updated successfully, but these errors were encountered: