fix(swagger) swagger annotations fixes and improvements EE-1205

This commit is contained in:
Hui
2021-10-12 12:12:08 +13:00
committed by GitHub
parent 6a67e8142d
commit e6d690e31e
90 changed files with 190 additions and 123 deletions

View File

@@ -12,6 +12,13 @@ import (
"github.com/portainer/portainer/api/bolt/errors"
)
// @id endpointExtensionRemove
// @tags endpoints
// @deprecated
// @param id path int true "Environment(Endpoint) identifier"
// @param extensionType path string true "Extension Type"
// @success 204 "Success"
// @router /endpoints/{id}/extensions/{extensionType} [delete]
func (handler *Handler) endpointExtensionRemove(w http.ResponseWriter, r *http.Request) *httperror.HandlerError {
endpointID, err := request.RetrieveNumericRouteVariableValue(r, "id")
if err != nil {