[skip ci] Updated swagger docs

This commit is contained in:
Frederick [Bot] 2023-10-20 11:39:17 +00:00 committed by kolaente
parent 1eefe265c5
commit b2b4b5423f
3 changed files with 7 additions and 13 deletions

View File

@ -2488,7 +2488,7 @@ const docTemplate = `{
"JWTKeyAuth": []
}
],
"description": "Create a webhook target which recieves POST requests about specified events from a project.",
"description": "Create a webhook target which receives POST requests about specified events from a project.",
"consumes": [
"application/json"
],
@ -8468,8 +8468,7 @@ const docTemplate = `{
"description": "The webhook events which should fire this webhook target",
"type": "array",
"items": {
"type": "string",
"minLength": 1
"type": "string"
}
},
"id": {
@ -8486,8 +8485,7 @@ const docTemplate = `{
},
"target_url": {
"description": "The target URL where the POST request with the webhook payload will be made",
"type": "string",
"minLength": 1
"type": "string"
},
"updated": {
"description": "A timestamp when this webhook target was last updated. You cannot change this value.",

View File

@ -2480,7 +2480,7 @@
"JWTKeyAuth": []
}
],
"description": "Create a webhook target which recieves POST requests about specified events from a project.",
"description": "Create a webhook target which receives POST requests about specified events from a project.",
"consumes": [
"application/json"
],
@ -8460,8 +8460,7 @@
"description": "The webhook events which should fire this webhook target",
"type": "array",
"items": {
"type": "string",
"minLength": 1
"type": "string"
}
},
"id": {
@ -8478,8 +8477,7 @@
},
"target_url": {
"description": "The target URL where the POST request with the webhook payload will be made",
"type": "string",
"minLength": 1
"type": "string"
},
"updated": {
"description": "A timestamp when this webhook target was last updated. You cannot change this value.",

View File

@ -1053,7 +1053,6 @@ definitions:
events:
description: The webhook events which should fire this webhook target
items:
minLength: 1
type: string
type: array
id:
@ -1069,7 +1068,6 @@ definitions:
target_url:
description: The target URL where the POST request with the webhook payload
will be made
minLength: 1
type: string
updated:
description: A timestamp when this webhook target was last updated. You cannot
@ -3084,7 +3082,7 @@ paths:
put:
consumes:
- application/json
description: Create a webhook target which recieves POST requests about specified
description: Create a webhook target which receives POST requests about specified
events from a project.
parameters:
- description: Project ID