Sha256: 08af50234658ff88bfa681ce3be8cc3c6423d15fe21f0a29943a3916e25fe215
Contents?: true
Size: 545 Bytes
Versions: 2
Compression:
Stored size: 545 Bytes
Contents
# frozen_string_literal: true require "openapi3_parser/context" require "openapi3_parser/node_factory/map" require "openapi3_parser/node_factory/path_item" require "openapi3_parser/node/callback" module Openapi3Parser module NodeFactory class Callback < NodeFactory::Map def initialize(context) super(context, allow_extensions: true, value_factory: NodeFactory::PathItem) end private def build_node(data) Node::Callback.new(data, context) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
openapi3_parser-0.5.1 | lib/openapi3_parser/node_factory/callback.rb |
openapi3_parser-0.5.0 | lib/openapi3_parser/node_factory/callback.rb |