-
Hi there, I couldn't find a resource for this, but does hono have something like what FastAPI has for generating an JSON Schema for the API endpoints, like: https://fastapi.tiangolo.com/tutorial/first-steps/?h=openapi#check-the-openapijson? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
There is a guide on OpenAPI here. With the packages mentioned there, you can use the |
Beta Was this translation helpful? Give feedback.
-
Hey 👋🏼 , I created this package https://github.com/rhinobase/hono-openapi, which can reduce the boilerplate code and supports multiple validation libs. Let me know if you face any issues, it's still in beta but the response seems to be good |
Beta Was this translation helpful? Give feedback.
There is a guide on OpenAPI here. With the packages mentioned there, you can use the
OpenAPIHono
-Class to create an OpenAPI App and serve a Swagger UI.