Sha256: 5738c6ecb61210e9a608a7675afb32dceb36e7152579b334dea6e3e67ecb2d70
Contents?: true
Size: 509 Bytes
Versions: 5
Compression:
Stored size: 509 Bytes
Contents
require_relative "./util" require_relative "./schema_accessor" module Swagger class Schema class ParameterBase extend SchemaAccessor def initialize(schema) @schema = schema end define_schema_accessor %i[ description required deprecated allowEmptyValue style explode allowReserved schema example examples ].freeze def to_json_schema schema end end end end
Version data entries
5 entries across 5 versions & 1 rubygems