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
{{ message }}
Repository navigation
[BUG][Kotlin][jackson] Missing JsonValue for nested Kotlin Jackson enums #23886
[Optional] Sponsorship to speed up the bug fix or feature request (example)
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
Activity
fix(kotlin): emit @get:JsonValue on nested Jackson enums
fix(kotlin): emit @get:JsonValue on nested Jackson enums
fix(kotlin): emit @get:JsonValue on nested Jackson enums
fix(kotlin): emit @get:JsonValue on nested Jackson enums (OpenAPITool…
Merge upstream/master-7.24.0