New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong class generated for enum #28
Comments
@lburgazzoli, can you share your openapi file? |
Thank you! I'll take a look at it. |
Signed-off-by: Ricardo Zanini <zanini@redhat.com>
@lburgazzoli, the fix is in #31 if you want to take a look. As soon as we merge it, I'll release a new patch version. |
Fix #28 - Add Enum Outer Class template and values cache
@lburgazzoli, can you try the latest 0.3.1 version? Maven repo took a while to update the latest release. :( |
On my TODO list for tomorrow |
@ricardozanini much better, filled another issue: #38 :) |
Ginevn the follwogin OpenApi scheme:
the extension generates an invalid class:
Which is wrong as it does not include the listed enum values.
As an additional note,
ConnectorNamespaceState.values()
should probably be cached as each call tovalues()
creates a copy of the enum values for each invocationThe text was updated successfully, but these errors were encountered: