module SchemaMatcher::NullablePossibility
Public Instance Methods
validate(current_schema, data, fragments, processor, validator, options = {})
click to toggle source
rubocop:disable Metrics/ParameterLists
Calls superclass method
# File lib/schema_matcher/extended_schema.rb, line 18 def validate(current_schema, data, fragments, processor, validator, options = {}) return if data.nil? && current_schema.schema['x-nullable'] super end