summary refs log tree commit diff
path: root/src/util/schemas/LazyRequestSchema.ts
diff options
context:
space:
mode:
authorPuyodead1 <puyodead@proton.me>2023-03-25 20:21:13 -0400
committerPuyodead1 <puyodead@proton.me>2023-04-13 15:41:23 -0400
commit0d666732c61ce98fe775bc5c34ebbef11b839ec2 (patch)
tree82ff6d043c95c446698093cf494b1b5c946883fc /src/util/schemas/LazyRequestSchema.ts
parentoapi: root level routes (diff)
downloadserver-0d666732c61ce98fe775bc5c34ebbef11b839ec2.tar.xz
oapi: bug fixes
Diffstat (limited to 'src/util/schemas/LazyRequestSchema.ts')
-rw-r--r--src/util/schemas/LazyRequestSchema.ts7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/util/schemas/LazyRequestSchema.ts b/src/util/schemas/LazyRequestSchema.ts

index f69ae1f7..ee52d66c 100644 --- a/src/util/schemas/LazyRequestSchema.ts +++ b/src/util/schemas/LazyRequestSchema.ts
@@ -19,7 +19,12 @@ export interface LazyRequestSchema { guild_id: string; channels?: { - [key: string]: [number, number][]; + /** + * @items.type integer + * @minItems 2 + * @maxItems 2 + */ + [key: string]: number[][]; // puyo: changed from [number, number] because it breaks openapi }; activities?: boolean; threads?: boolean;