mirror of
https://github.com/beego/bee.git
synced 2024-11-26 01:11:30 +00:00
Update g_docs.go
This commit is contained in:
parent
e8f85a57c2
commit
7c7e75435c
@ -769,6 +769,8 @@ func parseObject(d *ast.Object, k string, m *swagger.Schema, realTypes *[]string
|
|||||||
}
|
}
|
||||||
|
|
||||||
var tagValues []string
|
var tagValues []string
|
||||||
|
var err error
|
||||||
|
|
||||||
stag := reflect.StructTag(strings.Trim(field.Tag.Value, "`"))
|
stag := reflect.StructTag(strings.Trim(field.Tag.Value, "`"))
|
||||||
|
|
||||||
defaultValue := stag.Get("doc")
|
defaultValue := stag.Get("doc")
|
||||||
|
Loading…
Reference in New Issue
Block a user