Class: Openapi3Parser::Node::SecurityScheme

Inherits:
Object
  • Object
show all
Defined in:
lib/openapi3_parser/node/security_scheme.rb

Overview

Instance Attribute Summary

Attributes inherited from Object

#node_context, #node_data

Instance Method Summary collapse

Methods inherited from Object

#==, #[], #each, #extension, #initialize, #inspect, #node_at, #render_markdown, #values

Constructor Details

This class inherits a constructor from Openapi3Parser::Node::Object

Instance Method Details

#bearer_formatString?

Returns:

  • (String, nil)


40
41
42
# File 'lib/openapi3_parser/node/security_scheme.rb', line 40

def bearer_format
  self["bearerFormat"]
end

#descriptionString?

Returns:

  • (String, nil)


15
16
17
# File 'lib/openapi3_parser/node/security_scheme.rb', line 15

def description
  self["description"]
end

#description_htmlString?

Returns:

  • (String, nil)


20
21
22
# File 'lib/openapi3_parser/node/security_scheme.rb', line 20

def description_html
  render_markdown(description)
end

#flowsOauthFlows?

Returns:



45
46
47
# File 'lib/openapi3_parser/node/security_scheme.rb', line 45

def flows
  self["flows"]
end

#inString?

Returns:

  • (String, nil)


30
31
32
# File 'lib/openapi3_parser/node/security_scheme.rb', line 30

def in
  self["in"]
end

#nameString?

Returns:

  • (String, nil)


25
26
27
# File 'lib/openapi3_parser/node/security_scheme.rb', line 25

def name
  self["name"]
end

#open_id_connect_urlString?

Returns:

  • (String, nil)


50
51
52
# File 'lib/openapi3_parser/node/security_scheme.rb', line 50

def open_id_connect_url
  self["openIdConnectUrl"]
end

#schemeString?

Returns:

  • (String, nil)


35
36
37
# File 'lib/openapi3_parser/node/security_scheme.rb', line 35

def scheme
  self["scheme"]
end

#typeString?

Returns:

  • (String, nil)


10
11
12
# File 'lib/openapi3_parser/node/security_scheme.rb', line 10

def type
  self["type"]
end