Class: Openapi3Parser::Node::Parameter

Inherits:
Object
  • Object
show all
Includes:
ParameterLike
Defined in:
lib/openapi3_parser/node/parameter.rb

Overview

Instance Attribute Summary

Attributes inherited from Object

#node_context, #node_data

Instance Method Summary collapse

Methods included from ParameterLike

#allow_empty_value?, #allow_reserved?, #content, #deprecated?, #description, #description_html, #example, #examples, #explode?, #required?, #schema, #style

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

#inString

Returns:

  • (String)


18
19
20
# File 'lib/openapi3_parser/node/parameter.rb', line 18

def in
  self["in"]
end

#nameString

Returns:

  • (String)


13
14
15
# File 'lib/openapi3_parser/node/parameter.rb', line 13

def name
  self["name"]
end