save code
This commit is contained in:
parent
8230bd47de
commit
1e1e267719
@ -161,6 +161,9 @@ type PathItemOperationConfig struct {
|
||||
// resultPtr : 返回值结构体实例, 必须为指针, 作用 -> 基于反射生成返回值文档
|
||||
func (g *Generate) AddApi(baseCfg *define.UriBaseConfig, parameterPtr any, resultPtr any) error {
|
||||
paramType := reflect.TypeOf(parameterPtr)
|
||||
for idx := 0; idx < paramType.NumField(); idx++ {
|
||||
|
||||
}
|
||||
resultType := reflect.TypeOf(resultPtr)
|
||||
return nil
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user