Skip to content

v0.1.4

Compare
Choose a tag to compare
@MathurAditya724 MathurAditya724 released this 07 Nov 12:57
· 68 commits to main since this release

🎉 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! 🎉