mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-02-17 02:03:00 -05:00
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.
This commit is contained in:
@@ -4323,9 +4323,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
"description": "Validation error (circular reference, depth exceeded)"
|
||||
},
|
||||
"400": { "description": "Validation error (circular reference)" },
|
||||
"401": {
|
||||
"$ref": "#/components/responses/HTTP401NotAuthenticatedError"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user