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" } } }