class Openapi3Parser::NodeFactory::Encoding
Private Instance Methods
build_object(data, context)
click to toggle source
# File lib/openapi3_parser/node_factory/encoding.rb, line 18 def build_object(data, context) Node::Encoding.new(data, context) end
default_explode()
click to toggle source
# File lib/openapi3_parser/node_factory/encoding.rb, line 27 def default_explode context.input["style"] == "form" end
headers_factory(context)
click to toggle source
# File lib/openapi3_parser/node_factory/encoding.rb, line 22 def headers_factory(context) factory = NodeFactory::OptionalReference.new(NodeFactory::Header) NodeFactory::Map.new(context, value_factory: factory) end