Skip to content

Myxogastria0808/zod-openapi-share

Repository files navigation

zod-openapi-share

Test Docs NPM Version GitHub Release NPM Type Definitions Download NPM NPM Downloads All Time GitHub License Vitest Typedoc RenovateBot

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.

README (package description and how to use)

https://github.com/Myxogastria0808/zod-openapi-share/tree/main/package/README.md

HTML Documentation Generated by typedoc

https://myxogastria0808.github.io/zod-openapi-share/

Test Coverage Generated by @vitest/coverage-v8

https://myxogastria0808.github.io/zod-openapi-share/coverage/

Test Result Generated by @vitest/ui

https://myxogastria0808.github.io/zod-openapi-share/html/

Examples

hono + @hono/zod-openapi + zod-openapi-share examples

https://github.com/Myxogastria0808/zod-openapi-share/tree/main/examples/

DeepWiki

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.

https://deepwiki.com/Myxogastria0808/zod-openapi-share/

About

This package is an extension package for @hono/zod-openapi.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors