mirror of https://github.com/portainer/portainer
fix(docs): fix minor swagger issue and upgrade swag [EE-6548]
parent
47f29002f0
commit
3103d498cf
2
Makefile
2
Makefile
|
@ -9,7 +9,7 @@ ENV=development
|
||||||
WEBPACK_CONFIG=webpack/webpack.$(ENV).js
|
WEBPACK_CONFIG=webpack/webpack.$(ENV).js
|
||||||
TAG=local
|
TAG=local
|
||||||
|
|
||||||
SWAG=go run github.com/swaggo/swag/cmd/swag@v1.8.11
|
SWAG=go run github.com/swaggo/swag/cmd/swag@v1.16.2
|
||||||
GOTESTSUM=go run gotest.tools/gotestsum@latest
|
GOTESTSUM=go run gotest.tools/gotestsum@latest
|
||||||
|
|
||||||
# Don't change anything below this line unless you know what you're doing
|
# Don't change anything below this line unless you know what you're doing
|
||||||
|
|
|
@ -84,7 +84,6 @@ func (handler *Handler) getKubernetesNamespace(w http.ResponseWriter, r *http.Re
|
||||||
// @accept json
|
// @accept json
|
||||||
// @produce json
|
// @produce json
|
||||||
// @param id path int true "Environment (Endpoint) identifier"
|
// @param id path int true "Environment (Endpoint) identifier"
|
||||||
// @param namespace path string true "Namespace"
|
|
||||||
// @param body body models.K8sNamespaceDetails true "Namespace configuration details"
|
// @param body body models.K8sNamespaceDetails true "Namespace configuration details"
|
||||||
// @success 200 {string} string "Success"
|
// @success 200 {string} string "Success"
|
||||||
// @failure 400 "Invalid request"
|
// @failure 400 "Invalid request"
|
||||||
|
|
Loading…
Reference in New Issue