mirror of
https://github.com/portainer/portainer.git
synced 2025-07-28 09:49:40 +02:00
fix(swagger): swagger docs for http status code 409 [EE-5767] (#11536)
This commit is contained in:
parent
f9065367b9
commit
d5c4671320
15 changed files with 18 additions and 9 deletions
|
@ -46,6 +46,7 @@ func (payload *stackMigratePayload) Validate(r *http.Request) error {
|
|||
// @failure 400 "Invalid request"
|
||||
// @failure 403 "Permission denied"
|
||||
// @failure 404 "Stack not found"
|
||||
// @failure 409 "A stack with the same name is already running on the target environment(endpoint)"
|
||||
// @failure 500 "Server error"
|
||||
// @router /stacks/{id}/migrate [post]
|
||||
func (handler *Handler) stackMigrate(w http.ResponseWriter, r *http.Request) *httperror.HandlerError {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue