Exception: OpenAPIParser::NotUniqueItems
- Inherits:
-
OpenAPIError
- Object
- StandardError
- OpenAPIError
- OpenAPIParser::NotUniqueItems
- Defined in:
- lib/openapi_parser/errors.rb
Instance Method Summary collapse
-
#initialize(value, reference) ⇒ NotUniqueItems
constructor
A new instance of NotUniqueItems.
- #message ⇒ Object
Constructor Details
#initialize(value, reference) ⇒ NotUniqueItems
Returns a new instance of NotUniqueItems.
299 300 301 302 |
# File 'lib/openapi_parser/errors.rb', line 299 def initialize(value, reference) super(reference) @value = value end |
Instance Method Details
#message ⇒ Object
304 305 306 |
# File 'lib/openapi_parser/errors.rb', line 304 def "#{@reference} #{@value.inspect} contains duplicate items" end |