test(api): schema security (#50413)

* test: confirm all schemas pass basic validation

* refactor: use tested schemas in routes

* chore: move ajv to dev deps
This commit is contained in:
Oliver Eyton-Williams
2023-05-24 18:31:13 +02:00
committed by GitHub
parent 1fc0bccb6f
commit 39857b5aa4
7 changed files with 185 additions and 158 deletions
+1
View File
@@ -23,6 +23,7 @@
"@fastify/type-provider-typebox": "3.2.0",
"@types/express-session": "1.17.7",
"@types/supertest": "2.0.12",
"ajv": "8.12.0",
"dotenv-cli": "7.2.1",
"jest": "29.5.0",
"pino-pretty": "10.0.0",