class Rswag3::Specs::ExtendedTypeAttribute
Public Class Methods
validate(current_schema, data, fragments, processor, validator, options={})
click to toggle source
Calls superclass method
# File lib/rswag3/specs/extended_schema.rb, line 17 def self.validate(current_schema, data, fragments, processor, validator, options={}) return if data.nil? && current_schema.schema['x-nullable'] == true super end