一覧へ戻る
nakita628/hono-takibi(新しいタブで開きます)
主要言語: TypeScript
Hono Takibi is a code generator from OpenAPI to @hono/zod-openapi
- star 数
- 53
- watcher 数
- 1
- fork 数
- 2
- issue 数
- 18
- 最終更新
- 2026/10/31
主要言語: TypeScript
Hono Takibi is a code generator from OpenAPI to @hono/zod-openapi
Hono Takibi generates type-safe Hono code from OpenAPI / TypeSpec specifications.
From one document it can generate:
📖 Documentation: hono-takibi.dev · 🔥 Playground
npm install -D hono-takibi
Pass an OpenAPI (.yaml, .yml, .json) or TypeSpec (.tsp) document and an output file:
npx hono-takibi openapi.yaml -o src/routes.ts
For anything beyond a single routes file, create hono-takibi.config.ts:
import { defineConfig } from 'hono-takibi' export default defineConfig({ input: 'openapi.yaml', output: './src/routes.ts', })
input also takes an http(s) URL, with or without a file extension: a remote document is read by its content.
npx hono-takibi
Distributed under the MIT License. See LICENSE for more information.