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

index eb9ec4254..4f84b9721 100644 --- a/src/api/routes/webhooks/#webhook_id/#token/github.ts +++ b/src/api/routes/webhooks/#webhook_id/#token/github.ts
@@ -541,7 +541,7 @@ router.post( }, responses: { 204: {}, - 400: { + "4XX": { body: "APIErrorResponse", }, 404: {}, diff --git a/src/api/routes/webhooks/#webhook_id/#token/index.ts b/src/api/routes/webhooks/#webhook_id/#token/index.ts
index fd9b8c36b..5a45b733b 100644 --- a/src/api/routes/webhooks/#webhook_id/#token/index.ts +++ b/src/api/routes/webhooks/#webhook_id/#token/index.ts
@@ -99,7 +99,7 @@ router.post( }, responses: { 204: {}, - 400: { + "4XX": { body: "APIErrorResponse", }, 404: {}, @@ -113,7 +113,7 @@ router.delete( route({ responses: { 204: {}, - 400: { + "4XX": { body: "APIErrorResponse", }, 404: {}, @@ -160,7 +160,7 @@ router.patch( 200: { body: "Message", }, - 400: { + "4XX": { body: "APIErrorResponse", }, 403: {},