Exception: OpenAPIParser::MoreThanMaxProperties
- Inherits:
-
OpenAPIError
- Object
- StandardError
- OpenAPIError
- OpenAPIParser::MoreThanMaxProperties
- Defined in:
- lib/openapi_parser/errors.rb
Instance Method Summary collapse
-
#initialize(value, reference) ⇒ MoreThanMaxProperties
constructor
A new instance of MoreThanMaxProperties.
- #message ⇒ Object
Constructor Details
#initialize(value, reference) ⇒ MoreThanMaxProperties
Returns a new instance of MoreThanMaxProperties.
175 176 177 178 |
# File 'lib/openapi_parser/errors.rb', line 175 def initialize(value, reference) super(reference) @value = value end |
Instance Method Details
#message ⇒ Object
180 181 182 |
# File 'lib/openapi_parser/errors.rb', line 180 def "#{@reference} #{@value.size} is more than maxProperties value" end |