Update g_docs.go

This commit is contained in:
Hamid FzM 2017-08-16 15:28:59 +04:30 committed by GitHub
parent cdec05b5e3
commit 2936241fe6
1 changed files with 1 additions and 0 deletions

View File

@ -678,6 +678,7 @@ func parserComments(f *ast.FuncDecl, controllerName, pkgpath string) error {
opts.Produces = append(opts.Produces, ahtml)
case "form":
opts.Consumes = append(opts.Consumes, aform)
opts.Consumes = append(opts.Consumes, ajson)
}
}
} else if strings.HasPrefix(t, "@Security") {