generated swag
This commit is contained in:
parent
da6f1fb54b
commit
eef1f4db86
12
docs/docs.go
12
docs/docs.go
@ -237,13 +237,15 @@ const docTemplate = `{
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"responses": {}
|
"responses": {}
|
||||||
},
|
}
|
||||||
"delete": {
|
},
|
||||||
|
"/discord/webhooks/{ID}/enable": {
|
||||||
|
"post": {
|
||||||
"tags": [
|
"tags": [
|
||||||
"Config",
|
"Discord",
|
||||||
"Source"
|
"Webhook"
|
||||||
],
|
],
|
||||||
"summary": "Deletes a record by ID.",
|
"summary": "Enables a source to continue processing.",
|
||||||
"parameters": [
|
"parameters": [
|
||||||
{
|
{
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
@ -318,15 +318,13 @@ paths:
|
|||||||
/discord/webhooks/{ID}:
|
/discord/webhooks/{ID}:
|
||||||
delete:
|
delete:
|
||||||
parameters:
|
parameters:
|
||||||
- description: uuid
|
- description: id
|
||||||
in: path
|
in: path
|
||||||
name: id
|
name: id
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
produces:
|
|
||||||
- application/json
|
|
||||||
responses: {}
|
responses: {}
|
||||||
summary: Returns a single entity by ID
|
summary: Deletes a record by ID.
|
||||||
tags:
|
tags:
|
||||||
- Discord
|
- Discord
|
||||||
- Webhook
|
- Webhook
|
||||||
|
@ -383,7 +383,6 @@ func (s *Server) newTwitchSource(w http.ResponseWriter, r *http.Request) {
|
|||||||
|
|
||||||
// DeleteSource
|
// DeleteSource
|
||||||
// @Summary Marks a source as deleted based on its ID value.
|
// @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"
|
// @Param id path string true "id"
|
||||||
// @Tags Source
|
// @Tags Source
|
||||||
// @Router /sources/{id} [POST]
|
// @Router /sources/{id} [POST]
|
||||||
|
Loading…
Reference in New Issue
Block a user