1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-16 03:10:56 +00:00

Merge pull request #2100 from tnextday/develop

update swagger define
This commit is contained in:
astaxie 2016-08-18 23:29:06 +08:00 committed by GitHub
commit 3c016a0b2d

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"`
} }