Exception: OpenAPIParser::LessThanMinProperties
- Inherits:
-
OpenAPIError
- Object
- StandardError
- OpenAPIError
- OpenAPIParser::LessThanMinProperties
- Defined in:
- lib/openapi_parser/errors.rb
Instance Method Summary collapse
-
#initialize(value, reference) ⇒ LessThanMinProperties
constructor
A new instance of LessThanMinProperties.
- #message ⇒ Object
Constructor Details
#initialize(value, reference) ⇒ LessThanMinProperties
Returns a new instance of LessThanMinProperties.
164 165 166 167 |
# File 'lib/openapi_parser/errors.rb', line 164 def initialize(value, reference) super(reference) @value = value end |
Instance Method Details
#message ⇒ Object
169 170 171 |
# File 'lib/openapi_parser/errors.rb', line 169 def "#{@reference} #{@value.size} is less than minProperties value" end |