class Openapi3Parser::NodeFactory::Callback

Public Class Methods

new(context) click to toggle source
Calls superclass method Openapi3Parser::NodeFactory::Map::new
# File lib/openapi3_parser/node_factory/callback.rb, line 8
def initialize(context)
  super(context,
        allow_extensions: true,
        value_factory: NodeFactory::PathItem)
end

Private Instance Methods

build_node(data, node_context) click to toggle source
# File lib/openapi3_parser/node_factory/callback.rb, line 16
def build_node(data, node_context)
  Node::Callback.new(data, node_context)
end