1
0
mirror of https://github.com/beego/bee.git synced 2024-11-22 10:10:53 +00:00

Update g_docs.go

This commit is contained in:
Konstantin 2016-10-10 19:49:33 +03:00 committed by GitHub
parent e8f85a57c2
commit 7c7e75435c

View File

@ -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")