mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 07:49:41 +02:00
docs(teams): fix swagger [EE-5414] (#8890)
This commit is contained in:
parent
926ca19a1b
commit
e0609e3d93
2 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ func (payload *teamCreatePayload) Validate(r *http.Request) error {
|
|||
// @failure 400 "Invalid request"
|
||||
// @failure 409 "Team already exists"
|
||||
// @failure 500 "Server error"
|
||||
// @router /team [post]
|
||||
// @router /teams [post]
|
||||
func (handler *Handler) teamCreate(w http.ResponseWriter, r *http.Request) *httperror.HandlerError {
|
||||
var payload teamCreatePayload
|
||||
err := request.DecodeAndValidateJSONPayload(r, &payload)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue