Replies: 1 comment
-
Can you show instances where this isn't working?
Both of these keywords are intended to be used independently. { "enum": [ 1, 2, 3 ] } is the same as {
"oneOf": [
{ "const": 1 },
{ "const": 2 },
{ "const": 3 }
]
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi. Looking for an example to define a "default value" with an enum.
Beta Was this translation helpful? Give feedback.
All reactions