Currently I did not find a way to disable output validation when using zod schema(or any other schema) for output. Output schema is needed for OpenAPI. But for very large responses validating output(I tested with zod) takes significant slowdown. Zod also deeply clones data when performs parsing.
Would be nice to have a flag to disable output validation for better performance when having large responses.
And by having this option would be also discouraging to use zod .transoform or .owerwrite utilities.