Sha256: 5b229b870367027565b808223729f7ce0507e6a1d0e109160b7cbef0fe27f139

Contents?: true

Size: 521 Bytes

Versions: 6

Compression:

Stored size: 521 Bytes

Contents

# frozen_string_literal: true
module JSONSchemer
  module OpenAPI31
    module Vocab
      # https://spec.openapis.org/oas/latest.html#schema-object
      BASE = {
        # https://spec.openapis.org/oas/latest.html#discriminator-object
        'discriminator' => Base::Discriminator,
        'allOf' => Base::AllOf,
        'anyOf' => Base::AnyOf,
        'oneOf' => Base::OneOf
        # 'xml' => Base::Xml,
        # 'externalDocs' => Base::ExternalDocs,
        # 'example' => Base::Example
      }
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
json_schemer-2.3.0 lib/json_schemer/openapi31/vocab.rb
json_schemer-2.2.1 lib/json_schemer/openapi31/vocab.rb
json_schemer-2.2.0 lib/json_schemer/openapi31/vocab.rb
json_schemer-2.1.1 lib/json_schemer/openapi31/vocab.rb
json_schemer-2.1.0 lib/json_schemer/openapi31/vocab.rb
json_schemer-2.0.0 lib/json_schemer/openapi31/vocab.rb