1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-30 18:59:41 +02:00

fix(swagger): swagger docs for http status code 409 [EE-5767] (#11536)

This commit is contained in:
Prabhat Khera 2024-04-19 15:19:10 +12:00 committed by GitHub
parent f9065367b9
commit d5c4671320
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 18 additions and 9 deletions

View file

@ -19,7 +19,7 @@ import (
// @param webhookID path string true "Stack identifier"
// @success 200 "Success"
// @failure 400 "Invalid request"
// @failure 409 "Conflict"
// @failure 409 "Autoupdate for the stack isn't available"
// @failure 500 "Server error"
// @router /stacks/webhooks/{webhookID} [post]
func (handler *Handler) webhookInvoke(w http.ResponseWriter, r *http.Request) *httperror.HandlerError {