Exception: OpenAPIParser::NotExistRequiredKey
- Inherits:
-
OpenAPIError
- Object
- StandardError
- OpenAPIError
- OpenAPIParser::NotExistRequiredKey
- Defined in:
- lib/openapi_parser/errors.rb
Instance Method Summary collapse
-
#initialize(keys, reference) ⇒ NotExistRequiredKey
constructor
A new instance of NotExistRequiredKey.
- #message ⇒ Object
Constructor Details
#initialize(keys, reference) ⇒ NotExistRequiredKey
Returns a new instance of NotExistRequiredKey.
27 28 29 30 |
# File 'lib/openapi_parser/errors.rb', line 27 def initialize(keys, reference) super(reference) @keys = keys end |
Instance Method Details
#message ⇒ Object
32 33 34 |
# File 'lib/openapi_parser/errors.rb', line 32 def "required parameters #{@keys.join(",")} not exist in #{@reference}" end |