From 7123776375800f1a5c45444e2d51c7a334ea8509 Mon Sep 17 00:00:00 2001 From: AleksandrMatsko Date: Thu, 23 Jan 2025 13:45:15 +0700 Subject: [PATCH] fix: swagger spec --- api/handler/triggers.go | 1 + 1 file changed, 1 insertion(+) diff --git a/api/handler/triggers.go b/api/handler/triggers.go index 2e8d4c116..83c13b137 100644 --- a/api/handler/triggers.go +++ b/api/handler/triggers.go @@ -423,6 +423,7 @@ func getSearchRequestString(request *http.Request) string { // @param to query string false "End time of the time range" default(now) // @param sort query string false "String to set sort order (by events_count). On empty - no order, asc - ascending, desc - descending" default(desc) // @success 200 {object} dto.TriggerNoisinessList "Get noisiness for triggers in range" +// @failure 400 {object} api.ErrorInvalidRequestExample "Bad request from client" // @failure 422 {object} api.ErrorRenderExample "Render error" // @failure 500 {object} api.ErrorInternalServerExample "Internal server error" // @router /trigger/noisiness [get]