mirror of https://github.com/beego/bee.git
Merge a37d05bf59
into 6a86284cec
This commit is contained in:
commit
d7fc8b007f
|
@ -832,6 +832,7 @@ func setParamType(para *swagger.Parameter, typ string, pkgpath, controllerName s
|
|||
Type: paraType,
|
||||
Format: paraFormat,
|
||||
}
|
||||
para.CollectionFormat = "multi"
|
||||
}
|
||||
} else {
|
||||
para.Type = paraType
|
||||
|
|
|
@ -98,6 +98,7 @@ type Parameter struct {
|
|||
Type string `json:"type,omitempty" yaml:"type,omitempty"`
|
||||
Format string `json:"format,omitempty" yaml:"format,omitempty"`
|
||||
Items *ParameterItems `json:"items,omitempty" yaml:"items,omitempty"`
|
||||
CollectionFormat string `json:"collectionFormat,omitempty" yaml:"collectionFormat,omitempty"`
|
||||
Default interface{} `json:"default,omitempty" yaml:"default,omitempty"`
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue