Class: Openapi3Parser::Node::Components

Inherits:
Object
  • Object
show all
Defined in:
lib/openapi3_parser/node/components.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

#callbacksMap<String, Callback>

Returns:



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

def callbacks
  self["callbacks"]
end

#examplesMap<String, Example>

Returns:



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

def examples
  self["examples"]
end

#headersMap<String, Header>

Returns:



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

def headers
  self["headers"]
end

Returns:



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

def links
  self["links"]
end

#parametersMap<String, Parameter>

Returns:



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

def parameters
  self["parameters"]
end

#request_bodiesMap<String, RequestBody>

Returns:



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

def request_bodies
  self["requestBodies"]
end

#responsesMap<String, Response>

Returns:



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

def responses
  self["responses"]
end

#schemasMap<String, Schema>

Returns:



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

def schemas
  self["schemas"]
end

#security_schemesMap<String, SecurityScheme>

Returns:



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

def security_schemes
  self["securitySchemes"]
end