Class: Openapi3Parser::Node::PathItem

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

Overview

Instance Attribute Summary

Attributes inherited from Object

#node_context, #node_data

Instance Method Summary collapse

Methods inherited from Object

#[], #extension, #initialize, #inspect, #node_at, #render_markdown

Constructor Details

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

Instance Method Details

#deleteOperation?



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

def delete
  node_data["delete"]
end

#descriptionString?



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

def description
  node_data["description"]
end

#description_htmlString?



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

def description_html
  render_markdown(description)
end

#getOperation?



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

def get
  node_data["get"]
end

#headOperation?



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

def head
  node_data["head"]
end

#optionsOperation?



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

def options
  node_data["options"]
end

#parametersNode::Array<Parameter>



70
71
72
# File 'lib/openapi3_parser/node/path_item.rb', line 70

def parameters
  node_data["parameters"]
end

#patchOperation?



55
56
57
# File 'lib/openapi3_parser/node/path_item.rb', line 55

def patch
  node_data["patch"]
end

#postOperation?



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

def post
  node_data["post"]
end

#putOperation?



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

def put
  node_data["put"]
end

#serversNode::Array<Server>



65
66
67
# File 'lib/openapi3_parser/node/path_item.rb', line 65

def servers
  node_data["servers"]
end

#summaryString?



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

def summary
  node_data["summary"]
end

#traceOperation?



60
61
62
# File 'lib/openapi3_parser/node/path_item.rb', line 60

def trace
  node_data["trace"]
end