Exception: OpenAPIParser::NotExistPropertyDefinition
- Inherits:
-
OpenAPIError
- Object
- StandardError
- OpenAPIError
- OpenAPIParser::NotExistPropertyDefinition
- Defined in:
- lib/openapi_parser/errors.rb
Instance Method Summary collapse
-
#initialize(keys, reference) ⇒ NotExistPropertyDefinition
constructor
A new instance of NotExistPropertyDefinition.
- #message ⇒ Object
Constructor Details
#initialize(keys, reference) ⇒ NotExistPropertyDefinition
Returns a new instance of NotExistPropertyDefinition.
47 48 49 50 |
# File 'lib/openapi_parser/errors.rb', line 47 def initialize(keys, reference) super(reference) @keys = keys end |
Instance Method Details
#message ⇒ Object
52 53 54 |
# File 'lib/openapi_parser/errors.rb', line 52 def "properties #{@keys.join(",")} are not defined in #{@reference}" end |