Exception: OpenAPIParser::LessThanMinItems
- Inherits:
-
OpenAPIError
- Object
- StandardError
- OpenAPIError
- OpenAPIParser::LessThanMinItems
- Defined in:
- lib/openapi_parser/errors.rb
Instance Method Summary collapse
-
#initialize(value, reference) ⇒ LessThanMinItems
constructor
A new instance of LessThanMinItems.
- #message ⇒ Object
Constructor Details
#initialize(value, reference) ⇒ LessThanMinItems
Returns a new instance of LessThanMinItems.
288 289 290 291 |
# File 'lib/openapi_parser/errors.rb', line 288 def initialize(value, reference) super(reference) @value = value end |
Instance Method Details
#message ⇒ Object
293 294 295 |
# File 'lib/openapi_parser/errors.rb', line 293 def "#{@reference} #{@value.inspect} contains fewer than min items" end |