fix(swagger): add swagger annotation for pull and redeploy stack

This commit is contained in:
Hui
2021-07-22 11:40:53 +12:00
committed by GitHub
parent 7b2269fbba
commit 68453482af
6 changed files with 27 additions and 8 deletions

View File

@@ -61,7 +61,7 @@ func (payload *updateSwarmStackPayload) Validate(r *http.Request) error {
// @success 200 {object} portainer.Stack "Success"
// @failure 400 "Invalid request"
// @failure 403 "Permission denied"
// @failure 404 " not found"
// @failure 404 "Not found"
// @failure 500 "Server error"
// @router /stacks/{id} [put]
func (handler *Handler) stackUpdate(w http.ResponseWriter, r *http.Request) *httperror.HandlerError {