From 623079442fba4c8927a71c7ef172a0c815a520b3 Mon Sep 17 00:00:00 2001 From: Sven Dowideit Date: Tue, 19 Oct 2021 10:25:53 +1000 Subject: [PATCH] fix(swagger): double quotes in swagger param breaks parser (#5806) Signed-off-by: Sven Dowideit --- api/http/handler/stacks/stack_list.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/http/handler/stacks/stack_list.go b/api/http/handler/stacks/stack_list.go index a79bb3be6..42542c6dd 100644 --- a/api/http/handler/stacks/stack_list.go +++ b/api/http/handler/stacks/stack_list.go @@ -27,7 +27,7 @@ type stackListOperationFilters struct { // @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." +// @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 204 "Success" // @failure 400 "Invalid request"