The JSON Schema specification supports a const keyword that is much like enum but only specifies one value that should always be expected. const was not supported by OpenAPI 3.0 but OpenAPI 3.1 supports the JSON Schema specification at a version that does include this new keyword. OpenAPIKit should gain support for const but only in the OpenAPI module of the release/3_0 branch (not the OpenAPIKit30 module that supports OpenAPI 3.0).
The JSON Schema specification supports a
const
keyword that is much likeenum
but only specifies one value that should always be expected.const
was not supported by OpenAPI 3.0 but OpenAPI 3.1 supports the JSON Schema specification at a version that does include this new keyword. OpenAPIKit should gain support forconst
but only in theOpenAPI
module of therelease/3_0
branch (not theOpenAPIKit30
module that supports OpenAPI 3.0).