File: vocab.rb

package info (click to toggle)
ruby-json-schemer 2.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 544 kB
  • sloc: ruby: 7,428; makefile: 4; sh: 4
file content (12 lines) | stat: -rw-r--r-- 305 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true
module JSONSchemer
  module OpenAPI30
    module Vocab
      # https://spec.openapis.org/oas/v3.0.3#schema-object
      BASE = OpenAPI31::Vocab::BASE.merge(
        # https://spec.openapis.org/oas/v3.0.3#fixed-fields-19
        'type' => Base::Type
      )
    end
  end
end