oapi: readstates

This commit is contained in:
Puyodead1
2023-04-13 15:32:05 -04:00
parent 3fa2a95429
commit a1d8869271
2 changed files with 9 additions and 1 deletions
Binary file not shown.
+9 -1
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;