Sha256: 23d2c1b263749fad57dc8eed6504ec3130f2cb4424b8566505a10ccee359f5c6

Contents?: true

Size: 489 Bytes

Versions: 12

Compression:

Stored size: 489 Bytes

Contents

# frozen_string_literal: true

require "openapi3_parser/node_factory/object"

module Openapi3Parser
  module NodeFactory
    class OauthFlow < NodeFactory::Object
      allow_extensions
      field "authorizationUrl", input_type: String
      field "tokenUrl", input_type: String
      field "refreshUrl", input_type: String
      field "scopes", input_type: Hash

      private

      def build_object(data, context)
        Node::OauthFlow.new(data, context)
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

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