Skip to content

Commit

Permalink
fix(zod): response and body parser array compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
anymaniax committed Apr 25, 2024
1 parent 43647ad commit 0a03004
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/zod/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ const parseBodyAndResponse = ({
if (resolvedJsonSchema.items) {
return {
input: generateZodValidationSchemaDefinition(
resolvedJsonSchema,
resolvedJsonSchema.items as SchemaObject,
true,
name,
strict,
Expand Down

0 comments on commit 0a03004

Please sign in to comment.