From 94f5f49f496a2ceb54cd9b563c9aecbdebd21196 Mon Sep 17 00:00:00 2001 From: Miguel Ángel Moreno Date: Thu, 19 Dec 2024 23:15:35 +0100 Subject: feat: remove unneeded route coercions --- src/backend/tubo/router.clj | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/backend/tubo/router.clj b/src/backend/tubo/router.clj index 46be06a..8a031b5 100644 --- a/src/backend/tubo/router.clj +++ b/src/backend/tubo/router.clj @@ -28,8 +28,7 @@ {:summary "returns default kiosk entries for a given service" :coercion reitit.coercion.malli/coercion - :parameters {:path {:service-id int?} - :query {:region [:maybe string?]}} + :parameters {:path {:service-id int?}} :handler handler/kiosk}} :api/all-kiosks {:get {:summary "returns all kiosks supported by a given service" @@ -40,8 +39,7 @@ {:summary "returns kiosk entries for a given service and a kiosk ID" :coercion reitit.coercion.malli/coercion - :parameters {:path {:service-id int? :kiosk-id string?} - :query {:region [:maybe string?]}} + :parameters {:path {:service-id int? :kiosk-id string?}} :handler handler/kiosk}} :api/stream {:get {:summary "returns stream data for a given URL" :handler handler/stream}} -- cgit v1.2.3