From 20b6c48640ad5bd23054ac9defc1122be8c1e856 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E8=8C=B6=E6=B8=85=E6=AC=A2?= Date: Mon, 5 Jan 2026 18:05:45 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E9=80=92=E5=BD=92?= =?UTF-8?q?=E8=B0=83=E7=94=A8=E7=B1=BB=E5=9E=8B=E9=94=99=E8=AF=AF=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- openapi/schema.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openapi/schema.go b/openapi/schema.go index 2e8b5b4..4a6f87f 100644 --- a/openapi/schema.go +++ b/openapi/schema.go @@ -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: