Document connection pool deletion in OpenAPI

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
DottaandPaperclip committed 2026-10-05 09:15:05 -05:00
1 parent 6338e35dc1
commit ad69022cad
1 file changed
+9
+9
View File
@@ -10391,6 +10391,15 @@ registerCurrentRoute({
responses: { 200: r.ok(), 400: r.badRequest, 401: r.unauthorized, 403: r.forbidden, 404: r.notFound, 409: r.conflict, 422: r.unprocessable },
});
registerCurrentRoute({
method: "delete",
path: "/api/companies/{companyId}/ai-connection-pools/{poolId}",
tags: ["ai-connections"],
summary: "Delete a connection pool while retaining task and run records",
body: z.object({ expectedRevision: z.number().int().positive() }).strict(),
responses: { 200: r.ok(z.object({ ok: z.literal(true) })), 400: r.badRequest, 401: r.unauthorized, 403: r.forbidden, 404: r.notFound, 409: r.conflict },
});
registerCurrentRoute({
method: "get",
path: "/api/companies/{companyId}/ai-connection-pools/{poolId}/inspection",