Exception: OpenAPIParser::NotExistDiscriminatorPropertyName
- Inherits:
-
OpenAPIError
- Object
- StandardError
- OpenAPIError
- OpenAPIParser::NotExistDiscriminatorPropertyName
- Defined in:
- lib/openapi_parser/errors.rb
Instance Method Summary collapse
-
#initialize(key, value, reference) ⇒ NotExistDiscriminatorPropertyName
constructor
A new instance of NotExistDiscriminatorPropertyName.
- #message ⇒ Object
Constructor Details
#initialize(key, value, reference) ⇒ NotExistDiscriminatorPropertyName
Returns a new instance of NotExistDiscriminatorPropertyName.
69 70 71 72 73 |
# File 'lib/openapi_parser/errors.rb', line 69 def initialize(key, value, reference) super(reference) @key = key @value = value end |
Instance Method Details
#message ⇒ Object
75 76 77 |
# File 'lib/openapi_parser/errors.rb', line 75 def "discriminator propertyName #{@key} does not exist in value #{@value} in #{@reference}" end |