fix: 修复递归调用类型错误问题
This commit is contained in:
@@ -208,7 +208,7 @@ func generateSchemaRecursive(t reflect.Type, seen map[string]bool) *openapi3.Sch
|
||||
return nil
|
||||
}
|
||||
return &openapi3.SchemaRef{
|
||||
Value: openapi3.NewArraySchema().WithItems(elemSchema),
|
||||
Value: openapi3.NewArraySchema().WithItems(elemSchema.Value),
|
||||
}
|
||||
|
||||
case reflect.Map:
|
||||
|
||||
Reference in New Issue
Block a user