From e3170289b477e12350c4d66209913c527a4ade60 Mon Sep 17 00:00:00 2001 From: Valentin REVERSAT Date: Sun, 1 Oct 2023 17:01:13 +0200 Subject: [PATCH] fix(swagger): wrong enum value for closing reason --- internal/api/controllers/forecast.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/api/controllers/forecast.go b/internal/api/controllers/forecast.go index 9f8e494..db22afd 100644 --- a/internal/api/controllers/forecast.go +++ b/internal/api/controllers/forecast.go @@ -28,7 +28,7 @@ import ( // @Param from query string false "The date to filter from (RFC3339)" Format(date-time) // @Param limit query int true "Set the limit of the queried results" Format(int) default(10) // @Param offset query int true "Set the offset of the queried results" Format(int) default(0) -// @Param reason query string false "The closing reason" Enums(boat_crossing, maintenance) +// @Param reason query string false "The closing reason" Enums(boat, maintenance) // @Param boat query string false "The boat name of the event" // @Param maneuver query string false "The boat maneuver of the event" Enums(leaving_bordeaux, entering_in_bordeaux) // @Param Timezone header string false "Timezone to format the date related fields (TZ identifier)" default(UTC)