Class: OpenapiValidator::ExtendedSchema
- Inherits:
-
JSON::Schema::Draft4
- Object
- JSON::Schema::Draft4
- OpenapiValidator::ExtendedSchema
- Defined in:
- lib/openapi_validator/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.
6 7 8 9 10 11 |
# File 'lib/openapi_validator/extended_schema.rb', line 6 def initialize super @attributes['type'] = ExtendedTypeAttribute @uri = URI.parse('http://tempuri.org/apivore/extended_schema') @names = ['http://tempuri.org/apivore/extended_schema'] end |