Class: Openapi3Parser::NodeFactory::Callback

Inherits:
Map
  • Object
show all
Defined in:
lib/openapi3_parser/node_factory/callback.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) ⇒ Callback

Returns a new instance of Callback.



8
9
10
11
12
# File 'lib/openapi3_parser/node_factory/callback.rb', line 8

def initialize(context)
  super(context,
        allow_extensions: true,
        value_factory: NodeFactory::PathItem)
end