generated swag
This commit is contained in:
parent
da6f1fb54b
commit
eef1f4db86
10
docs/docs.go
10
docs/docs.go
@ -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",
|
||||
|
@ -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
|
||||
|
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user