1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-22 13:30:56 +00:00

update swagger define

This commit is contained in:
tnextday 2016-08-18 21:24:54 +08:00
parent 7760d24761
commit 1c54ff27c4

View File

@ -121,6 +121,7 @@ type Propertie struct {
Format string `json:"format,omitempty"` Format string `json:"format,omitempty"`
ReadOnly bool `json:"readOnly,omitempty"` ReadOnly bool `json:"readOnly,omitempty"`
Properties map[string]Propertie `json:"properties,omitempty"` Properties map[string]Propertie `json:"properties,omitempty"`
Items []Propertie `json:"items,omitempty"`
AdditionalProperties *Propertie `json:"additionalProperties,omitempty"` AdditionalProperties *Propertie `json:"additionalProperties,omitempty"`
} }