mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-24 10:13:11 +02:00
Document connection pool deletion in OpenAPI
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
6338e35dc1
commit
ad69022cad
1 file changed
+9
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user