From 0dc5b19bd87875f146362e042e976958a047192e Mon Sep 17 00:00:00 2001 From: Puyodead1 Date: Fri, 24 Mar 2023 18:57:44 -0400 Subject: gifs and query params --- src/api/util/handlers/route.ts | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/api/util/handlers') diff --git a/src/api/util/handlers/route.ts b/src/api/util/handlers/route.ts index 331ac0c2..2416b73f 100644 --- a/src/api/util/handlers/route.ts +++ b/src/api/util/handlers/route.ts @@ -62,6 +62,14 @@ export interface RouteOptions { event?: EVENT | EVENT[]; summary?: string; description?: string; + query?: { + [key: string]: { + type: string; + required?: boolean; + description?: string; + values?: string[]; + }; + }; // test?: { // response?: RouteResponse; // body?: unknown; -- cgit 1.5.1