Module: Scorpio::OpenAPI::V3_1::Ext
- Defined in:
- lib/scorpio/openapi/v3_1.rb
Overview
"Ext" is abbreviation for the "OpenAPI extension schema dialect" that extends JSON Schema draft 2020-12
and defines keywords: discriminator, example, externalDocs, xml.
This module is a namespace for that.
Defined Under Namespace
Modules: Document, ExtDocument, JSONSchemaDraft202012, MetaSchema, Unscoped, VocabSchema
Constant Summary collapse
- VOCAB =
vocabulary for implementation of keywords:
discriminator,example,externalDocs,xml JSI::Schema::Vocabulary.new( id: "https://spec.openapis.org/oas/3.1/vocab/base", elements: [ # TODO: # - discriminator # - example # - externalDocs # - xml ], )