mirror of
https://github.com/astaxie/beego.git
synced 2024-11-26 04:51:30 +00:00
update schema define
This commit is contained in:
parent
715c2c4312
commit
7253ff2f8c
@ -117,7 +117,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"`
|
Items *Schema `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