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.
36 37 38 39 |
# File 'lib/openapi_parser/errors.rb', line 36 def initialize(keys, reference) super(reference) @keys = keys end |
Instance Method Details
#message ⇒ Object
41 42 43 |
# File 'lib/openapi_parser/errors.rb', line 41 def "required parameters #{@keys.join(",")} not exist in #{@reference}" end |