Class: Openapi3Parser::Node::PathItem
- Inherits:
-
Object
- Object
- Object
- Openapi3Parser::Node::PathItem
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
Instance Method Details
40
41
42
|
# File 'lib/openapi3_parser/node/path_item.rb', line 40
def delete
node_data["delete"]
end
|
#description ⇒ String?
15
16
17
|
# File 'lib/openapi3_parser/node/path_item.rb', line 15
def description
node_data["description"]
end
|
#description_html ⇒ String?
20
21
22
|
# File 'lib/openapi3_parser/node/path_item.rb', line 20
def description_html
render_markdown(description)
end
|
25
26
27
|
# File 'lib/openapi3_parser/node/path_item.rb', line 25
def get
node_data["get"]
end
|
50
51
52
|
# File 'lib/openapi3_parser/node/path_item.rb', line 50
def head
node_data["head"]
end
|
45
46
47
|
# File 'lib/openapi3_parser/node/path_item.rb', line 45
def options
node_data["options"]
end
|
70
71
72
|
# File 'lib/openapi3_parser/node/path_item.rb', line 70
def parameters
node_data["parameters"]
end
|
55
56
57
|
# File 'lib/openapi3_parser/node/path_item.rb', line 55
def patch
node_data["patch"]
end
|
35
36
37
|
# File 'lib/openapi3_parser/node/path_item.rb', line 35
def post
node_data["post"]
end
|
30
31
32
|
# File 'lib/openapi3_parser/node/path_item.rb', line 30
def put
node_data["put"]
end
|
65
66
67
|
# File 'lib/openapi3_parser/node/path_item.rb', line 65
def servers
node_data["servers"]
end
|
#summary ⇒ String?
10
11
12
|
# File 'lib/openapi3_parser/node/path_item.rb', line 10
def summary
node_data["summary"]
end
|
60
61
62
|
# File 'lib/openapi3_parser/node/path_item.rb', line 60
def trace
node_data["trace"]
end
|