1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-22 18:50:50 +00:00

update schema define

This commit is contained in:
tnextday 2016-08-20 15:03:41 +08:00
parent 715c2c4312
commit 7253ff2f8c

View File

@ -117,7 +117,7 @@ type Schema struct {
Description string `json:"description,omitempty"`
Required []string `json:"required,omitempty"`
Type string `json:"type,omitempty"`
Items *Propertie `json:"items,omitempty"`
Items *Schema `json:"items,omitempty"`
Properties map[string]Propertie `json:"properties,omitempty"`
}