diff options
author | Puyodead1 <puyodead@proton.me> | 2023-03-24 18:57:44 -0400 |
---|---|---|
committer | Puyodead1 <puyodead@proton.me> | 2023-04-13 15:24:37 -0400 |
commit | 0dc5b19bd87875f146362e042e976958a047192e (patch) | |
tree | b76f14cedb659f4bbeb2aeb0fed1c7d9582907cf /src/api/util | |
parent | default responses (diff) | |
download | server-0dc5b19bd87875f146362e042e976958a047192e.tar.xz |
gifs and query params
Diffstat (limited to 'src/api/util')
-rw-r--r-- | src/api/util/handlers/route.ts | 8 |
1 files changed, 8 insertions, 0 deletions
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; |