From a175619623f932cc8ad4deac365aa4a6306b32df Mon Sep 17 00:00:00 2001 From: Matt Hook Date: Fri, 9 Feb 2024 14:44:14 +1300 Subject: [PATCH] fix(docs): fix swagger docs for webhook params [EE-6668] (#11088) --- api/http/handler/webhooks/webhook_list.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/http/handler/webhooks/webhook_list.go b/api/http/handler/webhooks/webhook_list.go index 697788622..faf979b40 100644 --- a/api/http/handler/webhooks/webhook_list.go +++ b/api/http/handler/webhooks/webhook_list.go @@ -22,7 +22,7 @@ type webhookListOperationFilters struct { // @tags webhooks // @accept json // @produce json -// @param filters query webhookListOperationFilters false "Filters" +// @param filters query string false "Filters (json-string)" example({"EndpointID":1,"ResourceID":"abc12345-abcd-2345-ab12-58005b4a0260"}) // @success 200 {array} portainer.Webhook // @failure 400 // @failure 500