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
"fieldThatShouldBeEnum": {
"$id": "https://example.com/FieldThatShouldBeAnEnum-1",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "A field that should be an enum",
"enum": [
"FOO",
"BAR"
]
}
https://github.com/Cosium/json-schema-to-java-record#json-enum indicates that a non-null enum field should generate an enum. However, I have in a deeply nested field, something like this
fieldThatShouldBeAnEnumis generated as aString