Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parameter ¶
type Parameter struct { tree.Node Ref string `yaml:"$ref"` ParamName string `yaml:"name"` In string `yaml:"in"` Description string `yaml:"description"` Required bool `yaml:"required"` Deprecated bool `yaml:"deprecated"` AllowEmptyValue bool `yaml:"allowEmptyValue"` Schema *schema.Schema // Acts as alternative description of param }
Parameter is a programmatic representation of the Parameter object defined here: https://swagger.io/specification/#parameter-object
func (*Parameter) GetChildren ¶
func (p *Parameter) GetChildren() map[string]tree.NodeTraverser
func (*Parameter) GetParamName ¶
Click to show internal directories.
Click to hide internal directories.