Sha256: 63e637150fc0bd2cce90cf27de09d1017943299d5a73ab02ba7afea25638e4a9

Contents?: true

Size: 441 Bytes

Versions: 10

Compression:

Stored size: 441 Bytes

Contents

# frozen_string_literal: true

require "openapi3_parser/node_factory/map"

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_context)
        Node::Callback.new(data, node_context)
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
openapi3_parser-0.9.2 lib/openapi3_parser/node_factory/callback.rb
mountapi-0.11.1 vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/callback.rb
openapi3_parser-0.9.1 lib/openapi3_parser/node_factory/callback.rb
openapi3_parser-0.9.0 lib/openapi3_parser/node_factory/callback.rb
openapi3_parser-0.8.2 lib/openapi3_parser/node_factory/callback.rb
openapi3_parser-0.8.1 lib/openapi3_parser/node_factory/callback.rb
openapi3_parser-0.8.0 lib/openapi3_parser/node_factory/callback.rb
openapi3_parser-0.7.0 lib/openapi3_parser/node_factory/callback.rb
openapi3_parser-0.6.1 lib/openapi3_parser/node_factory/callback.rb
openapi3_parser-0.6.0 lib/openapi3_parser/node_factory/callback.rb