Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Item ¶
type Item struct { tree.Node Ref string `yaml:"$ref"` // must be defined in the format of a PathItem object Summary string Description string Get *operation.Operation Post *operation.Operation Patch *operation.Operation Delete *operation.Operation Parameters []parameter.Parameter }
Item is a programmatic representation of the Path Item object defined here: https://swagger.io/specification/#path-item-object
func (*Item) GetBasePath ¶
func (*Item) GetChildren ¶
func (p *Item) GetChildren() map[string]tree.NodeTraverser
func (*Item) Operations ¶
func (p *Item) Operations() map[string]tree.NodeTraverser
Operations is public as it's called by the templater before rendering output
Click to show internal directories.
Click to hide internal directories.