Skip to content

Commit 30a605f

Browse files
committed
fix: mark isArray as deprecated in response definition
1 parent e18d042 commit 30a605f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/types/response.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ import type { ZodType } from "zod";
44

55
export type ResponseDefinition<O, I = O> = {
66
description: string,
7+
/**
8+
* @deprecated Use `.array()` instead
9+
*/
710
isArray?: boolean,
811
example?: NoInfer<O>,
912
examples?: Record<string, ExampleObject<NoInfer<O>>>,

0 commit comments

Comments
 (0)