module Openapi3Parser::Node::ParameterLike

This contains methods that are shared between nodes that act like a Parameter, at the time of writing this was Header and Parameter

Public Instance Methods

allow_empty_value?() click to toggle source

@return [Boolean]

# File lib/openapi3_parser/node/parameter_like.rb, line 30
def allow_empty_value?
  self["allowEmptyValue"]
end
allow_reserved?() click to toggle source

@return [Boolean]

# File lib/openapi3_parser/node/parameter_like.rb, line 45
def allow_reserved?
  self["allowReserved"]
end
content() click to toggle source

@return [Map<String, MediaType>, nil]

# File lib/openapi3_parser/node/parameter_like.rb, line 65
def content
  self["content"]
end
deprecated?() click to toggle source

@return [Boolean]

# File lib/openapi3_parser/node/parameter_like.rb, line 25
def deprecated?
  self["deprecated"]
end
description() click to toggle source

@return [String]

# File lib/openapi3_parser/node/parameter_like.rb, line 10
def description
  self["description"]
end
description_html() click to toggle source

@return [String, nil]

# File lib/openapi3_parser/node/parameter_like.rb, line 15
def description_html
  render_markdown(description)
end
example() click to toggle source

@return [Any]

# File lib/openapi3_parser/node/parameter_like.rb, line 55
def example
  self["example"]
end
examples() click to toggle source

@return [Map<String, Example>, nil]

# File lib/openapi3_parser/node/parameter_like.rb, line 60
def examples
  self["examples"]
end
explode?() click to toggle source

@return [Boolean]

# File lib/openapi3_parser/node/parameter_like.rb, line 40
def explode?
  self["explode"]
end
required?() click to toggle source

@return [Boolean]

# File lib/openapi3_parser/node/parameter_like.rb, line 20
def required?
  self["required"]
end
schema() click to toggle source

@return [Schema, nil]

# File lib/openapi3_parser/node/parameter_like.rb, line 50
def schema
  self["schema"]
end
style() click to toggle source

@return [String, nil]

# File lib/openapi3_parser/node/parameter_like.rb, line 35
def style
  self["style"]
end