Class: Openapi::Rswag::Specs::ExtendedSchema
- Inherits:
-
JSON::Schema::Draft4
- Object
- JSON::Schema::Draft4
- Openapi::Rswag::Specs::ExtendedSchema
- Defined in:
- lib/openapi/rswag/specs/extended_schema.rb
Instance Method Summary collapse
-
#initialize ⇒ ExtendedSchema
constructor
A new instance of ExtendedSchema.
Constructor Details
#initialize ⇒ ExtendedSchema
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 |