From d60d79efb6c800cb4a5c52887164816475394f9e Mon Sep 17 00:00:00 2001 From: abhi1992002 Date: Tue, 17 Feb 2026 10:52:50 +0530 Subject: [PATCH] fix(api): simplify validation error response for circular references - Updated the OpenAPI specification to modify the description of the 400 response for validation errors related to circular references, removing the mention of "depth exceeded" for clarity. - This change enhances the accuracy of the API documentation regarding validation error responses. --- autogpt_platform/frontend/src/app/api/openapi.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/autogpt_platform/frontend/src/app/api/openapi.json b/autogpt_platform/frontend/src/app/api/openapi.json index def3566b7d..d2a6e9aefb 100644 --- a/autogpt_platform/frontend/src/app/api/openapi.json +++ b/autogpt_platform/frontend/src/app/api/openapi.json @@ -4323,9 +4323,7 @@ } } }, - "400": { - "description": "Validation error (circular reference, depth exceeded)" - }, + "400": { "description": "Validation error (circular reference)" }, "401": { "$ref": "#/components/responses/HTTP401NotAuthenticatedError" },