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

Default values

This commit is contained in:
Konstantin 2016-10-08 11:28:47 +03:00 committed by GitHub
parent 1090ca0154
commit b151a9616e

View File

@ -126,7 +126,7 @@ type Propertie struct {
Ref string `json:"$ref,omitempty" yaml:"$ref,omitempty"`
Title string `json:"title,omitempty" yaml:"title,omitempty"`
Description string `json:"description,omitempty" yaml:"description,omitempty"`
Default string `json:"default,omitempty" yaml:"default,omitempty"`
Default interface{} `json:"default,omitempty" yaml:"default,omitempty"`
Type string `json:"type,omitempty" yaml:"type,omitempty"`
Example string `json:"example,omitempty" yaml:"example,omitempty"`
Required []string `json:"required,omitempty" yaml:"required,omitempty"`