Releases: rhinobase/hono-openapi
Releases · rhinobase/hono-openapi
v0.4.4
Fixes
- Update exports in index.ts to include utils (e0496d6)
- Enhance HTTPException handling and update validateResponse type (02562ed)
- Add jsdocs for uniqueSymbol and generateValidatorDocs (7451f38)
Full Changelog: https://github.com/rhinobase/hono-openapi/compare/[email protected]@0.4.4
[email protected]
v0.4.0
What's Changed
- chore: update deps and make sure optional deps works nicely by @NamesMT in #31
- fix: removed requestBody and parameters from getting omitted by @MathurAditya724 in #32
- feat: add default options support by @MathurAditya724 in #43
- fix: rollup config by @MathurAditya724 & @marcomuser in #44
New Contributors
- @NamesMT made their first contribution in #31
- @marcomuser made their first contribution in #44
Full Changelog: https://github.com/rhinobase/hono-openapi/compare/[email protected]@0.4.0
v0.3.1
What's Changed
- fix: corrected filterPaths and describeRoute function by @MathurAditya724 in #28
Full Changelog: https://github.com/rhinobase/hono-openapi/compare/[email protected]@0.3.1
[email protected]
What's Changed
- fix(core): duplicates path and param validation by @MathurAditya724 in #19
- fix(core): corrected the validation function by @MathurAditya724 in #24
- feat(core): support effect schema by @totto2727 in #16
New Contributors
- @totto2727 made their first contribution in #16
Full Changelog: https://github.com/rhinobase/hono-openapi/compare/[email protected]@0.3.0
v0.2.1
[email protected]
What's Changed
- Expanded validator support Valibot, ArkType, and TypeBox
- Added response validation and hide routes functionality
- bug fixes & performance improvements
v0.1.4
🎉 Initial Release: Hono OpenAPI v0.1.4
I am excited to launch Hono OpenAPI! 🚀
This library generates OpenAPI specs automatically for your Hono apps using validation schemas, enabling you to create client libraries, documentation, and more—no extra hassle!
Key Features:
- Automatic OpenAPI generation with Zod (TypeBox and Valibot coming soon!)
- Easy setup for seamless Hono integration
- Compatible with Swagger UI and Scalar for documentation
Installation:
pnpm add hono-openapi
Quick Example:
import { Hono } from "hono";
import { describeRoute, openAPISpecs } from "hono-openapi";
const app = new Hono();
app.get("/", describeRoute({ description: "Say hello" }), (c) => c.text("Hello, Hono!"));
We’re just getting started—check it out, and let us know what you think! 🎉