HonoH
Honoβ€’10mo ago
WAAYZZz πŸ€

Use zod schema generated with prisma with @hono/zod-openapi

Is there a way to use already generated zod schema with @hono/zod-openapi ?

The Zod schemas generated by Prisma are not enhanced the way @hono/zod-openapi provides. Does anyone know a way to enhance them for use with createRoute from @hono/zod-openapi (request.params, json validator, ...)
Was this page helpful?