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