1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-05 05:45:22 +02:00

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
90 changed files with 190 additions and 123 deletions

View file

@ -12,11 +12,9 @@ import (
// @id HelmDelete
// @summary Delete Helm Release
// @description
// @description **Access policy**: authorized
// @description **Access policy**: authenticated
// @tags helm
// @security jwt
// @accept json
// @produce json
// @param id path int true "Environment(Endpoint) identifier"
// @param release path string true "The name of the release/application to uninstall"
// @param namespace query string true "An optional namespace"

View file

@ -36,7 +36,7 @@ var errChartNameInvalid = errors.New("invalid chart name. " +
// @id HelmInstall
// @summary Install Helm Chart
// @description
// @description **Access policy**: authorized
// @description **Access policy**: authenticated
// @tags helm
// @security jwt
// @accept json

View file

@ -12,7 +12,7 @@ import (
// @id HelmList
// @summary List Helm Releases
// @description
// @description **Access policy**: authorized
// @description **Access policy**: authenticated
// @tags helm
// @security jwt
// @accept json

View file

@ -13,7 +13,7 @@ import (
// @id HelmRepoSearch
// @summary Search Helm Charts
// @description
// @description **Access policy**: authorized
// @description **Access policy**: authenticated
// @tags helm
// @param repo query string true "Helm repository URL"
// @security jwt

View file

@ -15,8 +15,8 @@ import (
// @id HelmShow
// @summary Show Helm Chart Information
// @description
// @description **Access policy**: authorized
// @tags helm_chart
// @description **Access policy**: authenticated
// @tags helm
// @param repo query string true "Helm repository URL"
// @param chart query string true "Chart name"
// @param command path string true "chart/values/readme"