Infer client openAPI
Hey all, I am wondering about something, I am able to infer the types from hono, in the client side if it's just a normal hono app without openAPI, but the moment i add open api, i do not get any inference, does any one know a workaroud or a way to get inference in the client
1 Reply
Hey there are some know issues with the
@hono/zod-openapi
, this might be one of those. I have created a middleware which helps with generating the OpenAPI Specs in your normal hono app, you can try that. https://github.com/rhinobase/hono-openapiGitHub
GitHub - rhinobase/hono-openapi: A plugin for Hono to generate Open...
A plugin for Hono to generate OpenAPI Swagger documentation - rhinobase/hono-openapi