Exception: OpenAPIParser::LessThanMinimum

Inherits:
OpenAPIError
  • Object
show all
Defined in:
lib/openapi_parser/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(value, reference) ⇒ LessThanMinimum

Returns a new instance of LessThanMinimum.



120
121
122
123
# File 'lib/openapi_parser/errors.rb', line 120

def initialize(value, reference)
  super(reference)
  @value = value
end

Instance Method Details

#messageObject



125
126
127
# File 'lib/openapi_parser/errors.rb', line 125

def message
  "#{@reference} #{@value.inspect} is less than minimum value"
end