Closed jayalfredprufrock closed 2 years ago
The "const" keyword was added in OAS 3.1, largely as syntactic sugar for a single value enum. It's been a part of the JSON schema spec since draft-06 and seems to be more common out in the wild now.
The "const" keyword was added in OAS 3.1, largely as syntactic sugar for a single value enum. It's been a part of the JSON schema spec since draft-06 and seems to be more common out in the wild now.