generated swag

This commit is contained in:
James Tombleson 2023-01-22 10:11:56 -08:00
parent da6f1fb54b
commit eef1f4db86
3 changed files with 9 additions and 10 deletions

View File

@ -237,13 +237,15 @@ const docTemplate = `{
}
],
"responses": {}
}
},
"delete": {
"/discord/webhooks/{ID}/enable": {
"post": {
"tags": [
"Config",
"Source"
"Discord",
"Webhook"
],
"summary": "Deletes a record by ID.",
"summary": "Enables a source to continue processing.",
"parameters": [
{
"type": "string",

View File

@ -318,15 +318,13 @@ paths:
/discord/webhooks/{ID}:
delete:
parameters:
- description: uuid
- description: id
in: path
name: id
required: true
type: string
produces:
- application/json
responses: {}
summary: Returns a single entity by ID
summary: Deletes a record by ID.
tags:
- Discord
- Webhook

View File

@ -383,7 +383,6 @@ func (s *Server) newTwitchSource(w http.ResponseWriter, r *http.Request) {
// DeleteSource
// @Summary Marks a source as deleted based on its ID value.
// @Summary Marks a source as deleted based on its ID value.
// @Param id path string true "id"
// @Tags Source
// @Router /sources/{id} [POST]