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.
58 59 60 61 |
# File 'lib/openapi_parser/errors.rb', line 58 def initialize(mapped_schema_reference, reference) super(reference) @mapped_schema_reference = mapped_schema_reference end |
Instance Method Details
#message ⇒ Object
63 64 65 |
# File 'lib/openapi_parser/errors.rb', line 63 def "discriminator mapped schema #{@mapped_schema_reference} does not exist in #{@reference}" end |