mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 07:19:41 +02:00
refactor(stacks): break swagger docs by type [EE-5381] (#8820)
This commit is contained in:
parent
bbea0bc8a5
commit
77f8b9333a
33 changed files with 347 additions and 144 deletions
|
@ -20,11 +20,11 @@ import (
|
|||
// @description Acts on a passed in token UUID to restart the docker service
|
||||
// @description **Access policy**: public
|
||||
// @tags webhooks
|
||||
// @param token path string true "Webhook token"
|
||||
// @param id path string true "Webhook token"
|
||||
// @success 202 "Webhook executed"
|
||||
// @failure 400
|
||||
// @failure 500
|
||||
// @router /webhooks/{token} [post]
|
||||
// @router /webhooks/{id} [post]
|
||||
func (handler *Handler) webhookExecute(w http.ResponseWriter, r *http.Request) *httperror.HandlerError {
|
||||
|
||||
webhookToken, err := request.RetrieveRouteVariableValue(r, "token")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue