diff --git a/backend/docs/docs.go b/backend/docs/docs.go index 024b8b9..95d94bc 100644 --- a/backend/docs/docs.go +++ b/backend/docs/docs.go @@ -1028,46 +1028,6 @@ const docTemplate = `{ } } }, - "/jobs/check_cmd": { - "post": { - "description": "Validates that a command binary exists on the system", - "consumes": [ - "application/json" - ], - "tags": [ - "jobs" - ], - "summary": "Check command path", - "parameters": [ - { - "description": "Command to check", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/internal_handlers.CheckCmdIn" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/internal_handlers.CheckCmdOut" - } - }, - "404": { - "description": "Not Found", - "schema": { - "type": "object", - "additionalProperties": { - "type": "string" - } - } - } - } - } - }, "/jobs/metrics": { "get": { "security": [ @@ -2774,26 +2734,6 @@ const docTemplate = `{ } } }, - "internal_handlers.CheckCmdIn": { - "type": "object", - "required": [ - "command" - ], - "properties": { - "command": { - "type": "string", - "example": "bash" - } - } - }, - "internal_handlers.CheckCmdOut": { - "type": "object", - "properties": { - "exists": { - "type": "boolean" - } - } - }, "internal_handlers.CreateFolderRequest": { "type": "object", "required": [ diff --git a/backend/docs/swagger.json b/backend/docs/swagger.json index 15f9b89..2fa0494 100644 --- a/backend/docs/swagger.json +++ b/backend/docs/swagger.json @@ -1017,46 +1017,6 @@ } } }, - "/jobs/check_cmd": { - "post": { - "description": "Validates that a command binary exists on the system", - "consumes": [ - "application/json" - ], - "tags": [ - "jobs" - ], - "summary": "Check command path", - "parameters": [ - { - "description": "Command to check", - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/internal_handlers.CheckCmdIn" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/internal_handlers.CheckCmdOut" - } - }, - "404": { - "description": "Not Found", - "schema": { - "type": "object", - "additionalProperties": { - "type": "string" - } - } - } - } - } - }, "/jobs/metrics": { "get": { "security": [ @@ -2763,26 +2723,6 @@ } } }, - "internal_handlers.CheckCmdIn": { - "type": "object", - "required": [ - "command" - ], - "properties": { - "command": { - "type": "string", - "example": "bash" - } - } - }, - "internal_handlers.CheckCmdOut": { - "type": "object", - "properties": { - "exists": { - "type": "boolean" - } - } - }, "internal_handlers.CreateFolderRequest": { "type": "object", "required": [ diff --git a/backend/docs/swagger.yaml b/backend/docs/swagger.yaml index 59e1b37..e82e629 100644 --- a/backend/docs/swagger.yaml +++ b/backend/docs/swagger.yaml @@ -401,19 +401,6 @@ definitions: example: 524288 type: number type: object - internal_handlers.CheckCmdIn: - properties: - command: - example: bash - type: string - required: - - command - type: object - internal_handlers.CheckCmdOut: - properties: - exists: - type: boolean - type: object internal_handlers.CreateFolderRequest: properties: path: @@ -1227,32 +1214,6 @@ paths: summary: Wait for job result tags: - jobs - /jobs/check_cmd: - post: - consumes: - - application/json - description: Validates that a command binary exists on the system - parameters: - - description: Command to check - in: body - name: body - required: true - schema: - $ref: '#/definitions/internal_handlers.CheckCmdIn' - responses: - "200": - description: OK - schema: - $ref: '#/definitions/internal_handlers.CheckCmdOut' - "404": - description: Not Found - schema: - additionalProperties: - type: string - type: object - summary: Check command path - tags: - - jobs /jobs/metrics: get: description: Returns total, successful, failed, and pending job counts over