oapi: readstates

This commit is contained in:
Puyodead1 2023-03-25 12:45:10 -04:00
parent 3fa2a95429
commit a1d8869271
No known key found for this signature in database
GPG Key ID: A4FA4FEC0DD353FC
2 changed files with 9 additions and 1 deletions

Binary file not shown.

View File

@ -23,7 +23,15 @@ const router = Router();
router.post(
"/",
route({ requestBody: "AckBulkSchema" }),
route({
requestBody: "AckBulkSchema",
responses: {
204: {},
400: {
body: "APIErrorResponse",
},
},
}),
async (req: Request, res: Response) => {
const body = req.body as AckBulkSchema;