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": {
-20
View File
@@ -1095,15 +1095,6 @@
"name": "id",
"in": "path",
"required": true
},
{
"description": "Agent reference",
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/internal_handlers.WaitJobIn"
}
}
],
"responses": {
@@ -2912,17 +2903,6 @@
"type": "string"
}
}
},
"internal_handlers.WaitJobIn": {
"type": "object",
"required": [
"agent_id"
],
"properties": {
"agent_id": {
"type": "string"
}
}
}
},
"securityDefinitions": {
-13
View File
@@ -513,13 +513,6 @@ definitions:
required:
- token
type: object
internal_handlers.WaitJobIn:
properties:
agent_id:
type: string
required:
- agent_id
type: object
info:
contact: {}
paths:
@@ -1165,12 +1158,6 @@ paths:
name: id
required: true
type: integer
- description: Agent reference
in: body
name: body
required: true
schema:
$ref: '#/definitions/internal_handlers.WaitJobIn'
produces:
- application/json
responses: