docs(server): declare the 413 export_too_large response in OpenAPI

Co-authored-by: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Waseem Ilyas 2026-09-10 23:27:27 +00:00
parent 9787fe260d
commit 1cc9c741fd
1 changed files with 2 additions and 2 deletions

View File

@ -1962,7 +1962,7 @@ registry.registerPath({
tags: ["companies"], tags: ["companies"],
summary: "Export company data", summary: "Export company data",
request: { params: z.object({ companyId: z.string() }) }, request: { params: z.object({ companyId: z.string() }) },
responses: { 200: r.ok(), 401: r.unauthorized }, responses: { 200: r.ok(), 401: r.unauthorized, 413: r.payloadTooLarge },
}); });
registry.registerPath({ registry.registerPath({
@ -8518,7 +8518,7 @@ registry.registerPath({
params: z.object({ companyId: z.string() }), params: z.object({ companyId: z.string() }),
body: jsonBody(companyPortabilityExportSchema), body: jsonBody(companyPortabilityExportSchema),
}, },
responses: { 200: r.ok(), 401: r.unauthorized }, responses: { 200: r.ok(), 401: r.unauthorized, 413: r.payloadTooLarge },
}); });
registry.registerPath({ registry.registerPath({