From 5e8fd81ce28a225c9c3d1317b5da3d9fe5c798f5 Mon Sep 17 00:00:00 2001 From: "mintlify[bot]" <109931778+mintlify[bot]@users.noreply.github.com> Date: Thu, 22 Oct 2026 20:31:34 +0000 Subject: [PATCH] docs: translate automation webhook error response schema (es, fr, zh) --- es/admin-openapi.json | 34 +++++++++++++++++++++++++++++----- fr/admin-openapi.json | 34 +++++++++++++++++++++++++++++----- zh/admin-openapi.json | 34 +++++++++++++++++++++++++++++----- 3 files changed, 87 insertions(+), 15 deletions(-) diff --git a/es/admin-openapi.json b/es/admin-openapi.json index 555a1c6cb..a8ab8948e 100644 --- a/es/admin-openapi.json +++ b/es/admin-openapi.json @@ -633,7 +633,8 @@ "type": "object", "properties": { "success": { - "type": "boolean" + "type": "boolean", + "description": "Siempre `true` cuando la ejecución se pone en cola." }, "runId": { "type": "string", @@ -649,7 +650,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/AutomationWebhookError" } } } @@ -659,7 +660,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/AutomationWebhookError" } } } @@ -669,7 +670,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/AutomationWebhookError" + } + } + } + }, + "500": { + "description": "No se pudo poner en cola la ejecución de la automatización debido a un error inesperado del servidor.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AutomationWebhookError" } } } @@ -679,7 +690,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/AutomationWebhookError" } } } @@ -746,6 +757,19 @@ } } }, + "AutomationWebhookError": { + "type": "object", + "properties": { + "success": { + "type": "boolean", + "description": "Siempre `false` en las respuestas de error." + }, + "error": { + "type": "string", + "description": "Mensaje de error." + } + } + }, "Error": { "type": "object", "properties": { diff --git a/fr/admin-openapi.json b/fr/admin-openapi.json index 190d5e385..812424fc0 100644 --- a/fr/admin-openapi.json +++ b/fr/admin-openapi.json @@ -633,7 +633,8 @@ "type": "object", "properties": { "success": { - "type": "boolean" + "type": "boolean", + "description": "Toujours `true` lorsque l’exécution est mise en file d’attente." }, "runId": { "type": "string", @@ -649,7 +650,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/AutomationWebhookError" } } } @@ -659,7 +660,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/AutomationWebhookError" } } } @@ -669,7 +670,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/AutomationWebhookError" + } + } + } + }, + "500": { + "description": "L’exécution de l’automatisation n’a pas pu être mise en file d’attente en raison d’une erreur serveur inattendue.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AutomationWebhookError" } } } @@ -679,7 +690,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/AutomationWebhookError" } } } @@ -746,6 +757,19 @@ } } }, + "AutomationWebhookError": { + "type": "object", + "properties": { + "success": { + "type": "boolean", + "description": "Toujours `false` pour les réponses d’erreur." + }, + "error": { + "type": "string", + "description": "Message d’erreur." + } + } + }, "Error": { "type": "object", "properties": { diff --git a/zh/admin-openapi.json b/zh/admin-openapi.json index de477214f..959cec5fa 100644 --- a/zh/admin-openapi.json +++ b/zh/admin-openapi.json @@ -633,7 +633,8 @@ "type": "object", "properties": { "success": { - "type": "boolean" + "type": "boolean", + "description": "运行成功加入队列时始终为 `true`。" }, "runId": { "type": "string", @@ -649,7 +650,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/AutomationWebhookError" } } } @@ -659,7 +660,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/AutomationWebhookError" } } } @@ -669,7 +670,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/AutomationWebhookError" + } + } + } + }, + "500": { + "description": "由于意外的服务器错误,无法将自动化运行加入队列。", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AutomationWebhookError" } } } @@ -679,7 +690,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/AutomationWebhookError" } } } @@ -746,6 +757,19 @@ } } }, + "AutomationWebhookError": { + "type": "object", + "properties": { + "success": { + "type": "boolean", + "description": "错误响应中始终为 `false`。" + }, + "error": { + "type": "string", + "description": "错误消息。" + } + } + }, "Error": { "type": "object", "properties": {