Class: Openapi3Parser::Node::Link
- Inherits:
-
Object
- Object
- Object
- Openapi3Parser::Node::Link
show all
- Defined in:
- lib/openapi3_parser/node/link.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
Instance Method Details
#description ⇒ String?
30
31
32
|
# File 'lib/openapi3_parser/node/link.rb', line 30
def description
self["description"]
end
|
#description_html ⇒ String?
35
36
37
|
# File 'lib/openapi3_parser/node/link.rb', line 35
def description_html
render_markdown(description)
end
|
#operation_id ⇒ String?
15
16
17
|
# File 'lib/openapi3_parser/node/link.rb', line 15
def operation_id
self["operationId"]
end
|
#operation_ref ⇒ String?
10
11
12
|
# File 'lib/openapi3_parser/node/link.rb', line 10
def operation_ref
self["operationRef"]
end
|
20
21
22
|
# File 'lib/openapi3_parser/node/link.rb', line 20
def parameters
self["parameters"]
end
|
#request_body ⇒ Any
25
26
27
|
# File 'lib/openapi3_parser/node/link.rb', line 25
def request_body
self["requestBody"]
end
|
40
41
42
|
# File 'lib/openapi3_parser/node/link.rb', line 40
def server
self["server"]
end
|