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

@@ -24,7 +24,7 @@ type stackListOperationFilters struct {
// @description List all stacks based on the current user authorizations.
// @description Will return all stacks if using an administrator account otherwise it
// @description will only return the list of stacks the user have access to.
// @description **Access policy**: restricted
// @description **Access policy**: authenticated
// @tags stacks
// @security jwt
// @param filters query string false "Filters to process on the stack list. Encoded as JSON (a map[string]string). For example, {"SwarmID": "jpofkc0i9uo9wtx1zesuk649w"} will only return stacks that are part of the specified Swarm cluster. Available filters: EndpointID, SwarmID."