mirror of
https://github.com/beego/bee.git
synced 2024-11-24 23:30:55 +00:00
Update g_docs.go
This commit is contained in:
parent
cdec05b5e3
commit
2936241fe6
@ -678,6 +678,7 @@ func parserComments(f *ast.FuncDecl, controllerName, pkgpath string) error {
|
|||||||
opts.Produces = append(opts.Produces, ahtml)
|
opts.Produces = append(opts.Produces, ahtml)
|
||||||
case "form":
|
case "form":
|
||||||
opts.Consumes = append(opts.Consumes, aform)
|
opts.Consumes = append(opts.Consumes, aform)
|
||||||
|
opts.Consumes = append(opts.Consumes, ajson)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if strings.HasPrefix(t, "@Security") {
|
} else if strings.HasPrefix(t, "@Security") {
|
||||||
|
Loading…
Reference in New Issue
Block a user