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

add *Item into Schema

This commit is contained in:
astaxie 2016-08-19 23:52:19 +08:00
parent 8b525b1aa5
commit efbde1ee77

View File

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