Class: Openapi3Parser::NodeFactory::SecurityRequirement

Inherits:
Map
  • Object
show all
Defined in:
lib/openapi3_parser/node_factory/security_requirement.rb

Instance Attribute Summary

Attributes inherited from Map

#allow_extensions, #context, #data, #default, #validation, #value_factory, #value_input_type

Instance Method Summary collapse

Methods inherited from Map

#errors, #inspect, #nil_input?, #node, #raw_input, #resolved_input, #valid?

Constructor Details

#initialize(context) ⇒ SecurityRequirement

Returns a new instance of SecurityRequirement.


8
9
10
# File 'lib/openapi3_parser/node_factory/security_requirement.rb', line 8

def initialize(context)
  super(context, value_factory: NodeFactory::Array)
end