H
Hono2mo ago
Enyel

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
No description
1 Reply
Aditya Mathur
Aditya Mathur4w ago
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-openapi
GitHub
GitHub - rhinobase/hono-openapi: A plugin for Hono to generate Open...
A plugin for Hono to generate OpenAPI Swagger documentation - rhinobase/hono-openapi
Want results from more Discord servers?
Add your server