Is using Orval + Zod for validation in Next.js a good industry practice?
Source: Dev.to
I’m a beginner in Next.js development and I’m learning about API validation. I came across Orval (for generating API clients from OpenAPI specs) and Zod (for schema validation).
I was wondering, in a professional/industry setting, is it considered a good practice to combine Orval + Zod to automate validations? Or are there better approaches commonly used in the industry for handling validation in Next.js apps?
Any advice, experiences, or examples would be really helpful!