Home OpenAPI v3.1 Vocabulary
OpenAPI v3.1 Vocabulary
Cancel

OpenAPI v3.1 Vocabulary

This library adds support for the vocabularies, meta-schemas, and keywords defined by the OpenAPI v3.1 specification.

To enable this vocabulary, include the following in your startup logic to register everything.

1
2
// optionally takes a build options to add support only to those registries.
Json.Schema.OpenApi.MetaSchemas.Register();

Note that all of the keywords defined by this vocabulary are annotative: they will produce annotations but provide no validation logic. The output from these keywords is intended to be used by other OpenAPI tooling.