class Openapi3Parser::NodeFactory::Server

Private Instance Methods

build_object(data, context) click to toggle source
# File lib/openapi3_parser/node_factory/server.rb, line 15
def build_object(data, context)
  Node::Server.new(data, context)
end
variables_factory(context) click to toggle source
# File lib/openapi3_parser/node_factory/server.rb, line 19
def variables_factory(context)
  NodeFactory::Map.new(
    context,
    value_factory: NodeFactory::ServerVariable
  )
end