Exception: OpenAPIParser::LessThanMinProperties

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

Instance Method Summary collapse

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

#messageObject



169
170
171
# File 'lib/openapi_parser/errors.rb', line 169

def message
  "#{@reference} #{@value.size} is less than minProperties value"
end