Exception: OpenAPIParser::NotExistDiscriminatorMappedSchema
- Inherits:
-
OpenAPIError
- Object
- StandardError
- OpenAPIError
- OpenAPIParser::NotExistDiscriminatorMappedSchema
- Defined in:
- lib/openapi_parser/errors.rb
Instance Method Summary collapse
-
#initialize(mapped_schema_reference, reference) ⇒ NotExistDiscriminatorMappedSchema
constructor
A new instance of NotExistDiscriminatorMappedSchema.
- #message ⇒ Object
Constructor Details
#initialize(mapped_schema_reference, reference) ⇒ NotExistDiscriminatorMappedSchema
Returns a new instance of NotExistDiscriminatorMappedSchema.
64 65 66 67 |
# File 'lib/openapi_parser/errors.rb', line 64 def initialize(mapped_schema_reference, reference) super(reference) @mapped_schema_reference = mapped_schema_reference end |
Instance Method Details
#message ⇒ Object
69 70 71 |
# File 'lib/openapi_parser/errors.rb', line 69 def "discriminator mapped schema #{@mapped_schema_reference} does not exist in #{@reference}" end |