Sha256: 642257335ce88be4d991e5d7175e6dfc32c001cc6cc849d477a863201f14f6f6

Contents?: true

Size: 697 Bytes

Versions: 1

Compression:

Stored size: 697 Bytes

Contents

# frozen_string_literal: true

require "openapi3_parser/node/object"
require "openapi3_parser/nodes/oauth_flows"

module Openapi3Parser
  module Nodes
    class SecurityScheme
      include Node::Object

      def type
        node_data["type"]
      end

      def description
        node_data["description"]
      end

      def name
        node_data["name"]
      end

      def in
        node_data["in"]
      end

      def scheme
        node_data["scheme"]
      end

      def bearer_format
        node_data["bearerFormat"]
      end

      def flows
        node_data["flows"]
      end

      def open_id_connect_url
        node_data["openIdConnectUrl"]
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
openapi3_parser-0.1.0 lib/openapi3_parser/nodes/security_scheme.rb