From 243ff36900300861d58add6de87eefd28b65845d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=98=99=E2=97=A6=20The=20Tablet=20=E2=9D=80=20GamerGirla?= =?UTF-8?q?ndCo=20=E2=97=A6=E2=9D=A7?= Date: Thu, 14 Aug 2025 16:28:49 -0400 Subject: [PATCH] fix swagger definition references to nonexistent `CreateGroupOption` --- routers/api/v1/group/group.go | 4 ++-- templates/swagger/v1_json.tmpl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/routers/api/v1/group/group.go b/routers/api/v1/group/group.go index c223666056..af41784aea 100644 --- a/routers/api/v1/group/group.go +++ b/routers/api/v1/group/group.go @@ -58,7 +58,7 @@ func NewGroup(ctx *context.APIContext) { // in: body // required: true // schema: - // "$ref": "#/definitions/CreateGroupOption" + // "$ref": "#/definitions/NewGroupOption" // responses: // "201": // "$ref": "#/responses/Group" @@ -94,7 +94,7 @@ func NewSubGroup(ctx *context.APIContext) { // in: body // required: true // schema: - // "$ref": "#/definitions/CreateGroupOption" + // "$ref": "#/definitions/NewGroupOption" // responses: // "201": // "$ref": "#/responses/Group" diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index c58873d7c7..8189e06e12 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -1492,7 +1492,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/CreateGroupOption" + "$ref": "#/definitions/NewGroupOption" } } ], @@ -3077,7 +3077,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/CreateGroupOption" + "$ref": "#/definitions/NewGroupOption" } } ],