zod-openapi-share is an extension package for @hono/zod-openapi that lets you centralize and reuse response definitions across endpoints.
Normally, @hono/zod-openapi requires you to redefine the same responses (e.g., error schemas) for every endpoint, but with zod-openapi-share, you can avoid repetition and prevent definition drift, making your backend development using hono + @hono/zod-openapi cleaner and more consistent.
Important
Be sure to use the latest version.
https://github.com/Myxogastria0808/zod-openapi-share/tree/main/package/README.md
https://myxogastria0808.github.io/zod-openapi-share/
https://myxogastria0808.github.io/zod-openapi-share/coverage/
https://myxogastria0808.github.io/zod-openapi-share/html/
hono + @hono/zod-openapi + zod-openapi-share examples
https://github.com/Myxogastria0808/zod-openapi-share/tree/main/examples/
Warning
The accuracy of the contents of generated deepwiki has not been verified by me.
I recommend that you look at the documentation at typedoc.