update generate
This commit is contained in:
@ -264,6 +264,8 @@ func (g *Generate) AddApiFromInAndOut(paramType reflect.Type, resultType reflect
|
||||
g.docData.Paths[baseCfg.Uri].Options = cfg
|
||||
case http.MethodTrace:
|
||||
g.docData.Paths[baseCfg.Uri].Trace = cfg
|
||||
default:
|
||||
panic("unknown method: " + baseCfg.Method)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user