Exception: OpenAPIParser::MoreThanExclusiveMaximum

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

Instance Method Summary collapse

Constructor Details

#initialize(value, reference) ⇒ MoreThanExclusiveMaximum

Returns a new instance of MoreThanExclusiveMaximum.



153
154
155
156
# File 'lib/openapi_parser/errors.rb', line 153

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

Instance Method Details

#messageObject



158
159
160
# File 'lib/openapi_parser/errors.rb', line 158

def message
  "#{@reference} #{@value.inspect} cannot be more than or equal to exclusive maximum value"
end