Class: Openapi::Rswag::Specs::ExtendedSchema

Inherits:
JSON::Schema::Draft4
  • Object
show all
Defined in:
lib/openapi/rswag/specs/extended_schema.rb

Instance Method Summary collapse

Constructor Details

#initializeExtendedSchema

Returns a new instance of ExtendedSchema.



8
9
10
11
12
13
# File 'lib/openapi/rswag/specs/extended_schema.rb', line 8

def initialize
  super
  @attributes['type'] = ExtendedTypeAttribute
  @uri = URI.parse('http://tempuri.org/rswag/specs/extended_schema')
  @names = ['http://tempuri.org/rswag/specs/extended_schema']
end