class Swagalicious::ExtendedTypeAttribute

Public Class Methods

validate(current_schema, data, fragments, processor, validator, options={}) click to toggle source
Calls superclass method
# File lib/swagalicious/extended_schema.rb, line 14
def self.validate(current_schema, data, fragments, processor, validator, options={})
  return if data.nil? && current_schema.schema["null"] == true
  super
end