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
-
#validate_integer(_value, _schema) ⇒ Object
validate integer value by schema this method use from float_validator because number allow float and integer.
- #validate_schema(value, schema, **keyword_args) ⇒ Object
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
29 30 31 |
# File 'lib/openapi_parser/schema_validator.rb', line 29 def validate_integer(_value, _schema) raise 'implement' end |
#validate_schema(value, schema, **keyword_args) ⇒ Object
21 22 23 |
# File 'lib/openapi_parser/schema_validator.rb', line 21 def validate_schema(value, schema, **keyword_args) raise 'implement' end |