mirror of
https://gitee.com/johng/gf
synced 2026-07-01 19:31:23 +08:00
openapi
This commit is contained in:
@ -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,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user