class Openapi3Parser::Node::PathItem

@see github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#pathItemObject

Public Instance Methods

alternative_servers?() click to toggle source

Whether this object uses it's own defined servers instead of falling back to the root ones.

@return [Boolean]

# File lib/openapi3_parser/node/path_item.rb, line 73
def alternative_servers?
  servers != node_context.document.root.servers
end
delete() click to toggle source

@return [Operation, nil]

# File lib/openapi3_parser/node/path_item.rb, line 40
def delete
  self["delete"]
end
description() click to toggle source

@return [String, nil]

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

@return [String, nil]

# File lib/openapi3_parser/node/path_item.rb, line 20
def description_html
  render_markdown(description)
end
get() click to toggle source

@return [Operation, nil]

# File lib/openapi3_parser/node/path_item.rb, line 25
def get
  self["get"]
end
head() click to toggle source

@return [Operation, nil]

# File lib/openapi3_parser/node/path_item.rb, line 50
def head
  self["head"]
end
options() click to toggle source

@return [Operation, nil]

# File lib/openapi3_parser/node/path_item.rb, line 45
def options
  self["options"]
end
parameters() click to toggle source

@return [Node::Array<Parameter>]

# File lib/openapi3_parser/node/path_item.rb, line 78
def parameters
  self["parameters"]
end
patch() click to toggle source

@return [Operation, nil]

# File lib/openapi3_parser/node/path_item.rb, line 55
def patch
  self["patch"]
end
post() click to toggle source

@return [Operation, nil]

# File lib/openapi3_parser/node/path_item.rb, line 35
def post
  self["post"]
end
put() click to toggle source

@return [Operation, nil]

# File lib/openapi3_parser/node/path_item.rb, line 30
def put
  self["put"]
end
servers() click to toggle source

@return [Node::Array<Server>]

# File lib/openapi3_parser/node/path_item.rb, line 65
def servers
  self["servers"]
end
summary() click to toggle source

@return [String, nil]

# File lib/openapi3_parser/node/path_item.rb, line 10
def summary
  self["summary"]
end
trace() click to toggle source

@return [Operation, nil]

# File lib/openapi3_parser/node/path_item.rb, line 60
def trace
  self["trace"]
end