summary refs log tree commit diff
path: root/src/api/routes/auth/verify
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-10-16 09:39:21 +0200
committerRory& <root@rory.gay>2025-10-16 09:39:21 +0200
commit157cd64a665873d3a36905c0b9ea1705f8d5891d (patch)
tree36c4b07f25b7e57f6905479cff0490f421847e25 /src/api/routes/auth/verify
parentImplement applications/@me (diff)
downloadserver-ts-dev/openapi-improvements.tar.xz
Diffstat (limited to 'src/api/routes/auth/verify')
-rw-r--r--src/api/routes/auth/verify/index.ts2
-rw-r--r--src/api/routes/auth/verify/resend.ts2
-rw-r--r--src/api/routes/auth/verify/view-backup-codes-challenge.ts2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/api/routes/auth/verify/index.ts b/src/api/routes/auth/verify/index.ts

index b85120d84..8a641781c 100644 --- a/src/api/routes/auth/verify/index.ts +++ b/src/api/routes/auth/verify/index.ts
@@ -46,7 +46,7 @@ router.post( 200: { body: "TokenResponse", }, - 400: { + "4XX": { body: "APIErrorOrCaptchaResponse", }, }, diff --git a/src/api/routes/auth/verify/resend.ts b/src/api/routes/auth/verify/resend.ts
index c9696ebdc..9c72cd6ce 100644 --- a/src/api/routes/auth/verify/resend.ts +++ b/src/api/routes/auth/verify/resend.ts
@@ -28,7 +28,7 @@ router.post( right: "RESEND_VERIFICATION_EMAIL", responses: { 204: {}, - 400: { + "4XX": { body: "APIErrorResponse", }, 500: { diff --git a/src/api/routes/auth/verify/view-backup-codes-challenge.ts b/src/api/routes/auth/verify/view-backup-codes-challenge.ts
index 811de5084..b040238dd 100644 --- a/src/api/routes/auth/verify/view-backup-codes-challenge.ts +++ b/src/api/routes/auth/verify/view-backup-codes-challenge.ts
@@ -29,7 +29,7 @@ router.post( requestBody: "BackupCodesChallengeSchema", responses: { 200: { body: "BackupCodesChallengeResponse" }, - 400: { body: "APIErrorResponse" }, + "4XX": { body: "APIErrorResponse" }, }, }), async (req: Request, res: Response) => {