feat!(backend/jobs): don't require agent_id on waitjob
ci-agent / build (push) Failing after 5m30s

This commit is contained in:
2026-04-05 04:57:43 +03:00
parent b1e6775f1b
commit 71a8fa154b
6 changed files with 37 additions and 77 deletions
-20
View File
@@ -1106,15 +1106,6 @@ const docTemplate = `{
"name": "id",
"in": "path",
"required": true
},
{
"description": "Agent reference",
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/internal_handlers.WaitJobIn"
}
}
],
"responses": {
@@ -2923,17 +2914,6 @@ const docTemplate = `{
"type": "string"
}
}
},
"internal_handlers.WaitJobIn": {
"type": "object",
"required": [
"agent_id"
],
"properties": {
"agent_id": {
"type": "string"
}
}
}
},
"securityDefinitions": {