-
Notifications
You must be signed in to change notification settings - Fork 83
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
number enums generate non-compiling code #715
Labels
Comments
Can you send a PR to fix this? Just change the |
@ricardozanini @hbelmiro This is being labeled as Stale. |
@ricardozanini @hbelmiro This is being closed due to inactivity. |
FelixScherzinger
pushed a commit
to FelixScherzinger/quarkus-openapi-generator
that referenced
this issue
Sep 18, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Got to
integration-tests/enum-property/src/main/openapi/enum-property.yaml
. Change type for enum fromstring
tonumber
and enum values from'text'
to1
:Compile it and check generated
org.openapi.quarkus.enum_property_yaml.model.Message
class. It will contain enum value -BigDecimal.valueOf(new BigDecimal("1"))
this part can not compileThe text was updated successfully, but these errors were encountered: