Class: OpenapiValidator::TypeAttribute
- Inherits:
-
JSON::Schema::TypeV4Attribute
- Object
- JSON::Schema::TypeV4Attribute
- OpenapiValidator::TypeAttribute
- Defined in:
- lib/openapi_validator/schema/type_attribute.rb
Class Method Summary collapse
Class Method Details
.validate(current_schema, data, fragments, processor, validator, options = {}) ⇒ Object
5 6 7 8 |
# File 'lib/openapi_validator/schema/type_attribute.rb', line 5 def self.validate(current_schema, data, fragments, processor, validator, = {}) return if data.nil? && current_schema.schema["nullable"] == true super end |