Bug Report Checklist
Description
For Jackson to serialize enum with Int value as an Int in json, @get:JsonValue is required. As we can see in this test, it is missing and it will yield a string in stead. It is included for top level enums, as covered by this test
I'd be happy to create a PR that resolves this if proposed change is accepted.
openapi-generator version
Latest master asserts this in test mentioned above
OpenAPI declaration file content or url
See test link above
Generation Details
Steps to reproduce
Test above
Related issues/PRs
Suggest a fix
tormodatt@4a6f685. I can open a PR with this?
Bug Report Checklist
Description
For Jackson to serialize enum with
Intvalue as anIntin json,@get:JsonValueis required. As we can see in this test, it is missing and it will yield a string in stead. It is included for top level enums, as covered by this testI'd be happy to create a PR that resolves this if proposed change is accepted.
openapi-generator version
Latest master asserts this in test mentioned above
OpenAPI declaration file content or url
See test link above
Generation Details
Steps to reproduce
Test above
Related issues/PRs
Suggest a fix
tormodatt@4a6f685. I can open a PR with this?