1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-22 18:30:50 +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"`
}