mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 13:30:56 +00:00
add *Item into Schema
This commit is contained in:
parent
8b525b1aa5
commit
efbde1ee77
@ -106,6 +106,7 @@ type Schema struct {
|
|||||||
Description string `json:"description,omitempty"`
|
Description string `json:"description,omitempty"`
|
||||||
Required []string `json:"required,omitempty"`
|
Required []string `json:"required,omitempty"`
|
||||||
Type string `json:"type,omitempty"`
|
Type string `json:"type,omitempty"`
|
||||||
|
Items *Propertie `json:"items,omitempty"`
|
||||||
Properties map[string]Propertie `json:"properties,omitempty"`
|
Properties map[string]Propertie `json:"properties,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user