Sha256: bfc06a33aacdc3c607a1d379d17847f5cfc186fd173e61985070bec76d491f9b

Contents?: true

Size: 408 Bytes

Versions: 10

Compression:

Stored size: 408 Bytes

Contents

# frozen_string_literal: true

require "openapi3_parser/node_factory/map"

module Openapi3Parser
  module NodeFactory
    class SecurityRequirement < NodeFactory::Map
      def initialize(context)
        super(context, value_factory: NodeFactory::Array)
      end

      private

      def build_node(data, node_context)
        Node::SecurityRequirement.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/security_requirement.rb
mountapi-0.11.1 vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/security_requirement.rb
openapi3_parser-0.9.1 lib/openapi3_parser/node_factory/security_requirement.rb
openapi3_parser-0.9.0 lib/openapi3_parser/node_factory/security_requirement.rb
openapi3_parser-0.8.2 lib/openapi3_parser/node_factory/security_requirement.rb
openapi3_parser-0.8.1 lib/openapi3_parser/node_factory/security_requirement.rb
openapi3_parser-0.8.0 lib/openapi3_parser/node_factory/security_requirement.rb
openapi3_parser-0.7.0 lib/openapi3_parser/node_factory/security_requirement.rb
openapi3_parser-0.6.1 lib/openapi3_parser/node_factory/security_requirement.rb
openapi3_parser-0.6.0 lib/openapi3_parser/node_factory/security_requirement.rb