docs(server): declare the 413 export_too_large response in OpenAPI
Co-authored-by: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
9787fe260d
commit
1cc9c741fd
|
|
@ -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({
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue