Class: Skooma::Objects::OpenAPI::Keywords::JSONSchemaDialect
- Inherits:
-
JSONSkooma::Keywords::Base
- Object
- JSONSkooma::Keywords::Base
- Skooma::Objects::OpenAPI::Keywords::JSONSchemaDialect
- Defined in:
- lib/skooma/objects/openapi/keywords/json_schema_dialect.rb
Instance Method Summary collapse
-
#initialize(parent_schema, value) ⇒ JSONSchemaDialect
constructor
A new instance of JSONSchemaDialect.
Constructor Details
#initialize(parent_schema, value) ⇒ JSONSchemaDialect
Returns a new instance of JSONSchemaDialect.
11 12 13 14 15 16 |
# File 'lib/skooma/objects/openapi/keywords/json_schema_dialect.rb', line 11 def initialize(parent_schema, value) super uri = URI.parse(value) parent_schema.json_schema_dialect_uri = uri end |