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

index db1d02538..98eafea7c 100644 --- a/src/api/routes/applications/#application_id/bot/index.ts +++ b/src/api/routes/applications/#application_id/bot/index.ts
@@ -39,7 +39,7 @@ router.post( 204: { body: "TokenOnlyResponse", }, - 400: { + "4XX": { body: "APIErrorResponse", }, }, @@ -68,7 +68,7 @@ router.post( 200: { body: "TokenResponse", }, - 400: { + "4XX": { body: "APIErrorResponse", }, }, @@ -104,7 +104,7 @@ router.patch( 200: { body: "Application", }, - 400: { + "4XX": { body: "APIErrorResponse", }, }, diff --git a/src/api/routes/applications/#application_id/index.ts b/src/api/routes/applications/#application_id/index.ts
index 6701f867c..09e458c8e 100644 --- a/src/api/routes/applications/#application_id/index.ts +++ b/src/api/routes/applications/#application_id/index.ts
@@ -37,7 +37,7 @@ router.get( 200: { body: "Application", }, - 400: { + "4XX": { body: "APIErrorResponse", }, }, @@ -62,7 +62,7 @@ router.patch( 200: { body: "Application", }, - 400: { + "4XX": { body: "APIErrorResponse", }, }, @@ -128,7 +128,7 @@ router.post( route({ responses: { 200: {}, - 400: { + "4XX": { body: "APIErrorResponse", }, },