summary refs log tree commit diff
path: root/src/api/routes/oauth2
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/oauth2
parentImplement applications/@me (diff)
downloadserver-ts-dev/openapi-improvements.tar.xz
Diffstat (limited to 'src/api/routes/oauth2')
-rw-r--r--src/api/routes/oauth2/authorize.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/api/routes/oauth2/authorize.ts b/src/api/routes/oauth2/authorize.ts

index 54891a51c..67b0713f3 100644 --- a/src/api/routes/oauth2/authorize.ts +++ b/src/api/routes/oauth2/authorize.ts
@@ -44,7 +44,7 @@ router.get( responses: { // TODO: I really didn't feel like typing all of it out 200: {}, - 400: { + "4XX": { body: "APIErrorResponse", }, 404: { @@ -181,7 +181,7 @@ router.post( 200: { body: "OAuthAuthorizeResponse", }, - 400: { + "4XX": { body: "APIErrorResponse", }, 403: {