Class: Swagger::Blocks::Nodes::TagNode
- Inherits:
-
Swagger::Blocks::Node
- Object
- Swagger::Blocks::Node
- Swagger::Blocks::Nodes::TagNode
- Defined in:
- lib/swagger/blocks/nodes/tag_node.rb
Overview
Instance Attribute Summary
Attributes inherited from Swagger::Blocks::Node
Instance Method Summary collapse
-
#externalDocs(inline_keys = nil, &block) ⇒ Object
TODO support ^x- Vendor Extensions.
Methods inherited from Swagger::Blocks::Node
#as_json, call, #data, #is_swagger_2_0?, #key, #keys
Instance Method Details
#externalDocs(inline_keys = nil, &block) ⇒ Object
TODO support ^x- Vendor Extensions
9 10 11 |
# File 'lib/swagger/blocks/nodes/tag_node.rb', line 9 def externalDocs(inline_keys = nil, &block) self.data[:externalDocs] = Swagger::Blocks::Nodes::ExternalDocsNode.call(version: version, inline_keys: inline_keys, &block) end |