Class: Swagger::V2::SecurityScheme

Inherits:
SwaggerObject show all
Defined in:
lib/swagger/v2/security_scheme.rb

Overview

Class representing a Swagger “Security Scheme Object”.

Fixed Fields collapse

Attributes inherited from SwaggerObject

#parent

Method Summary

Methods inherited from SwaggerObject

field, #initialize, required_field

Methods included from Attachable

#attach_parent, #attach_to_children, #root

Constructor Details

This class inherits a constructor from Swagger::SwaggerObject

Instance Attribute Details

#authorizationUrlString

*Required* Swagger field authorizationUrl.

Returns:

  • (String)

19
# File 'lib/swagger/v2/security_scheme.rb', line 19

required_field :authorizationUrl, String

#descriptionString

Swagger field description.

Returns:

  • (String)

15
# File 'lib/swagger/v2/security_scheme.rb', line 15

field :description, String

#flowString

*Required* Swagger field flow.

Returns:

  • (String)

18
# File 'lib/swagger/v2/security_scheme.rb', line 18

required_field :flow, String

#inString

Swagger field in.

Returns:

  • (String)

17
# File 'lib/swagger/v2/security_scheme.rb', line 17

field :in, String

#nameString

Swagger field name.

Returns:

  • (String)

16
# File 'lib/swagger/v2/security_scheme.rb', line 16

field :name, String

#scopesHash

*Required* Swagger field scopes.

Returns:

  • (Hash)

21
# File 'lib/swagger/v2/security_scheme.rb', line 21

required_field :scopes, Hash

#tokenUrlString

Swagger field tokenUrl.

Returns:

  • (String)

20
# File 'lib/swagger/v2/security_scheme.rb', line 20

field :tokenUrl, String

#typeString

*Required* Swagger field type.

Returns:

  • (String)

14
# File 'lib/swagger/v2/security_scheme.rb', line 14

required_field :type, String