From 9d7c4b72aab470d093dd5535acdf330d2c33cdd9 Mon Sep 17 00:00:00 2001 From: mrhid6 Date: Wed, 9 Sep 2026 08:46:25 +0000 Subject: [PATCH] fix: Fixed openapi doc --- server/internal/api/docs/openapi.json | 48 ++++++++++++++++++++++++++- 1 file changed, 47 insertions(+), 1 deletion(-) diff --git a/server/internal/api/docs/openapi.json b/server/internal/api/docs/openapi.json index c081a92..cd0f5a0 100644 --- a/server/internal/api/docs/openapi.json +++ b/server/internal/api/docs/openapi.json @@ -315,6 +315,52 @@ }, "type": "object" }, + "api.RunResponse": { + "properties": { + "finished_at": { + "type": "string" + }, + "instance_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "run_id": { + "type": "string" + }, + "server_runs": { + "items": { + "$ref": "#/components/schemas/models.ServerRun" + }, + "type": "array", + "uniqueItems": false + }, + "servers_restricted": { + "type": "boolean" + }, + "started_at": { + "type": "string" + }, + "status": { + "type": "string" + }, + "steps_snapshot": { + "items": { + "$ref": "#/components/schemas/models.ResolvedStep" + }, + "type": "array", + "uniqueItems": false + }, + "triggered_by": { + "type": "string" + }, + "workflow_id": { + "type": "string" + } + }, + "type": "object" + }, "api.RunWorkflowResponse": { "properties": { "run_id": { @@ -4973,7 +5019,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/models.WorkflowRun" + "$ref": "#/components/schemas/api.RunResponse" } } },