Enforce OpenAPI types
Hey there,
I'm currently working on a
I've successfully added support for ExpressJs, as its typings are relatively straightforward. However, I'm finding the Hono types more complex, and I could use some assistance in creating the appropriate Hono types for the
Is it even feasible to integrate Hono's advanced typing system with
Thanks
Context:
I'm currently working on a
openapi-router package, which aims to enforce types (generated from an OpenAPI document using openapi-typescript) in the routers of web frameworks like Hono or ExpressJs.I've successfully added support for ExpressJs, as its typings are relatively straightforward. However, I'm finding the Hono types more complex, and I could use some assistance in creating the appropriate Hono types for the
openapi-router package. Is it even feasible to integrate Hono's advanced typing system with
openapi-router? Any guidance or tips would be appreciated.Thanks
Context:
- Hono Types: https://github.com/honojs/hono/blob/main/src/types.ts
- Express types for
openapi-router: https://github.com/inbeta-group/monorepo/blob/develop/packages/openapi-router/src/types/features/express.ts - Express example for
openapi-router: https://github.com/inbeta-group/monorepo/tree/develop/examples/openapi-router/express/petstore
GitHub
Web framework built on Web Standards. Contribute to honojs/hono development by creating an account on GitHub.
GitHub
Contribute to inbeta-group/monorepo development by creating an account on GitHub.
GitHub
Contribute to inbeta-group/monorepo development by creating an account on GitHub.