diff --git a/packages/zod/src/index.ts b/packages/zod/src/index.ts index fd6186a55..444bd7398 100644 --- a/packages/zod/src/index.ts +++ b/packages/zod/src/index.ts @@ -460,7 +460,7 @@ const parseBodyAndResponse = ({ if (resolvedJsonSchema.items) { return { input: generateZodValidationSchemaDefinition( - resolvedJsonSchema, + resolvedJsonSchema.items as SchemaObject, true, name, strict,