Module: OpenAPIParser::SchemaValidator::Validatable

Included in:
OpenAPIParser::SchemaValidator
Defined in:
lib/openapi_parser/schema_validator.rb

Overview

validate value by schema this module for SchemaValidators::Base

Instance Method Summary collapse

Instance Method Details

#validate_integer(_value, _schema) ⇒ Object

validate integer value by schema this method use from float_validator because number allow float and integer

Parameters:



32
33
34
# File 'lib/openapi_parser/schema_validator.rb', line 32

def validate_integer(_value, _schema)
  raise 'implement'
end

#validate_schema(value, schema, **keyword_args) ⇒ Object



24
25
26
# File 'lib/openapi_parser/schema_validator.rb', line 24

def validate_schema(value, schema, **keyword_args)
  raise 'implement'
end