// Parameter a struct that describes a single operation parameter, more at https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#parameterObject
//
// Note that this struct is actually a thin wrapper around ParameterProps to make it referable and extensible
typeParameterstruct{
spec.Refable
ParameterProps
spec.VendorExtensible
}
// MarshalJSON is a custom marshal function that knows how to encode Parameter as JSON
// ParameterProps a struct that describes a single operation parameter, more at https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#parameterObject
typeParameterPropsstruct{
// Name holds the name of the parameter
Namestring`json:"name,omitempty"`
// In holds the location of the parameter
Instring`json:"in,omitempty"`
// Description holds a brief description of the parameter
Descriptionstring`json:"description,omitempty"`
// Required determines whether this parameter is mandatory
Requiredbool`json:"required,omitempty"`
// Deprecated declares this operation to be deprecated
Deprecatedbool`json:"deprecated,omitempty"`
// AllowEmptyValue sets the ability to pass empty-valued parameters