This commit is contained in:
John Guo
2021-10-08 11:42:28 +08:00
parent d430f2f52e
commit 5e32e8868e

View File

@ -119,6 +119,7 @@ func (oai *OpenApiV3) Add(in AddInput) error {
case reflect.Func:
return oai.addPath(addPathInput{
Path: in.Path,
Prefix: in.Prefix,
Method: in.Method,
Function: in.Object,
})