From 40cd6ec83df36b61e4f3a543c617d33c31c2097a Mon Sep 17 00:00:00 2001 From: Otto Date: Sat, 14 Feb 2026 13:30:08 +0000 Subject: [PATCH] fix: sync openapi description with backend docstring (include Raises section) --- autogpt_platform/frontend/src/app/api/openapi.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autogpt_platform/frontend/src/app/api/openapi.json b/autogpt_platform/frontend/src/app/api/openapi.json index 129af18b3a..feabc9b51d 100644 --- a/autogpt_platform/frontend/src/app/api/openapi.json +++ b/autogpt_platform/frontend/src/app/api/openapi.json @@ -1154,7 +1154,7 @@ "delete": { "tags": ["v2", "chat", "chat"], "summary": "Delete Session", - "description": "Delete a chat session.\n\nPermanently removes a chat session and all its messages.\nOnly the owner can delete their sessions.\n\nArgs:\n session_id: The session ID to delete.\n user_id: The authenticated user's ID.\n\nReturns:\n 204 No Content on success.", + "description": "Delete a chat session.\n\nPermanently removes a chat session and all its messages.\nOnly the owner can delete their sessions.\n\nArgs:\n session_id: The session ID to delete.\n user_id: The authenticated user's ID.\n\nReturns:\n 204 No Content on success.\n\nRaises:\n HTTPException: 404 if session not found or not owned by user.", "operationId": "deleteV2DeleteSession", "security": [{ "HTTPBearerJWT": [] }], "parameters": [