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

@@ -26,7 +26,7 @@ import (
// @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}/start [post]
func (handler *Handler) stackStart(w http.ResponseWriter, r *http.Request) *httperror.HandlerError {