Method: JSONSchemer::OpenAPI31::Vocab::Base::AnyOf#validate

Defined in:
lib/json_schemer/openapi31/vocab/base.rb

#validateObject


25
26
27
# File 'lib/json_schemer/openapi31/vocab/base.rb', line 25

def validate(*)
  schema.parsed.key?('discriminator') ? nil : super
end