fix(swagger): double quotes in swagger param breaks parser (#5806)

Signed-off-by: Sven Dowideit <sven.dowideit@portainer.io>
pull/5928/head
Sven Dowideit 3 years ago committed by GitHub
parent ff87e687ec
commit 623079442f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -27,7 +27,7 @@ type stackListOperationFilters struct {
// @description **Access policy**: authenticated // @description **Access policy**: authenticated
// @tags stacks // @tags stacks
// @security jwt // @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." // @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."
// @success 200 {array} portainer.Stack "Success" // @success 200 {array} portainer.Stack "Success"
// @success 204 "Success" // @success 204 "Success"
// @failure 400 "Invalid request" // @failure 400 "Invalid request"

Loading…
Cancel
Save