Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

fix(platform/admin): revert unrelated openapi.json changes to match backend schema

Zamil Majdy98c0920c044d
diff --git a/autogpt_platform/frontend/src/app/api/openapi.json b/autogpt_platform/frontend/src/app/api/openapi.json
index 004fd513fb..98bb4754b7 100644
--- a/autogpt_platform/frontend/src/app/api/openapi.json
+++ b/autogpt_platform/frontend/src/app/api/openapi.json
@@ -9374,14 +9374,7 @@
},
"CreditTransactionType": {
"type": "string",
- "enum": [
- "TOP_UP",
- "USAGE",
- "GRANT",
- "REFUND",
- "CARD_CHECK",
- "SUBSCRIPTION"
- ],
+ "enum": ["TOP_UP", "USAGE", "GRANT", "REFUND", "CARD_CHECK"],
"title": "CreditTransactionType"
},
"DeleteFileResponse": {
@@ -15826,7 +15819,9 @@
"title": "Location"
},
"msg": { "type": "string", "title": "Message" },
- "type": { "type": "string", "title": "Error Type" }
+ "type": { "type": "string", "title": "Error Type" },
+ "input": { "title": "Input" },
+ "ctx": { "type": "object", "title": "Context" }
},
"type": "object",
"required": ["loc", "msg", "type"],