From 1845ac7428e9d907fcc03579cc224eef54e5b81c Mon Sep 17 00:00:00 2001 From: Christopher Homberger Date: Sat, 3 May 2025 13:48:01 +0200 Subject: [PATCH] cleanup --- routers/api/v1/user/runners.go | 2 +- templates/swagger/v1_json.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/routers/api/v1/user/runners.go b/routers/api/v1/user/runners.go index 70b608d006..60d0948977 100644 --- a/routers/api/v1/user/runners.go +++ b/routers/api/v1/user/runners.go @@ -112,7 +112,7 @@ func ListWorkflowRuns(ctx *context.APIContext) { // - application/json // responses: // "200": - // "$ref": "#/responses/ActionWorkflowRunsResponse" + // "$ref": "#/responses/WorkflowRunsList" shared.ListRuns(ctx, ctx.Doer.ID, 0) } diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index 4fcf4090e1..a50216aa0f 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -17935,7 +17935,7 @@ "operationId": "getUserWorkflowRuns", "responses": { "200": { - "$ref": "#/responses/ActionWorkflowRunsResponse" + "$ref": "#/responses/WorkflowRunsList" } } }