Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
スキーマ駆動で、Zod OpenAPI Honoによる、API開発するために、Hono Tak...
Search
N Akita
October 17, 2025
Programming
660
0
Share
スキーマ駆動で、Zod OpenAPI Honoによる、API開発するために、Hono Takibiというライブラリを作っている
スキーマ駆動で、Zod OpenAPI Honoによる、API開発するために、Hono Takibiというライブラリを作っている
N Akita
October 17, 2025
More Decks by N Akita
See All by N Akita
npmライブラリを自作して、感じたこと
nakita628
0
74
TypeSciprt + Express + Prisma + Node.js API開発
nakita628
0
26
Other Decks in Programming
See All in Programming
見せてもらおうか、 OpenSearchの性能とやらを!
shunta27
1
180
「速くなった気がする」をデータで疑う
senleaf24
0
150
Radical Imagining - LIFT 2025-2027 Policy Agenda
lift1998
0
250
存在論的プログラミング: 時間と存在を記述する
koriym
5
840
一度始めたらやめられない開発効率向上術 / Findy あなたのdotfilesを教えて!
k0kubun
4
2.9k
飯MCP
yusukebe
0
490
How Swift's Type System Guides AI Agents
koher
0
190
PCOVから学ぶコードカバレッジ #phpcon_odawara
o0h
PRO
0
240
今からFlash開発できるわけないじゃん、ムリムリ! (※ムリじゃなかった!?)
arkw
0
190
レガシーPHP転生 〜父がドメインエキスパートだったのでDDD+Claude Codeでチート開発します〜
panda_program
0
610
Strategy for Finding a Problem for OSS: With Real Examples
kibitan
0
140
Go_College_最終発表資料__外部公開用_.pdf
xe_pc23
0
140
Featured
See All Featured
Navigating Weather and Climate Data
rabernat
0
160
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
710
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
410
BBQ
matthewcrist
89
10k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
180
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.7k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
670
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.8k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.5k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.1k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
Building an army of robots
kneath
306
46k
Transcript
スキーマ駆動で、Zod OpenAPI Hono による、API 開発するため に、Hono Takibi というライブラ リを作っている N
Akita
About Me Hono が、プログラム人生の8 割 Dvorak 歴は、7 割
Hono Takibi OpenAPI 、TypeSpec から、Zod OpenAPI Hono を生成するライブラリ
Development Background Zod OpenAPI Hono の登場 Zodios やopenapi-zod-client などのライブラリを参考 OpenAPI
→ Zodios OpenAPI openapi-zod-client Zodios
OpenAPI → Zod OpenAPI Hono 変換できるのでは?
Usage OpenAPI → Zod OpenAPI Hono OpenAPI Hono Takibi Zod
OpenAPI Hono npm i -D hono-takibi npx hono-takibi openapi.yaml -o output.ts
None
hono-takibi.config.ts hono-takibi.config.ts を用いて、出力のカスタマイズも可能 import { defineConfig } from 'hono-takibi/config'
export default defineConfig({ input: 'main.tsp', 'zod-openapi': { schema: { output: './src/schemas/index.ts', exportType: true, }, route: { output: './src/routes/index.ts', import: '../schemas', }, }, rpc: { output: './src/rpc/index.ts', import: '../client', }, })
None
Hono OpenAPI Approach Hono Hono OpenAPI OpenAPI Swagger UI Scalar
Zod OpenAPI Hono Approach Zod OpenAPI Hono OpenAPI Swagger UI
Scalar
Hono Takibi Approach OpenAPI Hono Takibi Zod OpenAPI Hono Swagger
UI Scalar
TypeSpec API 定義を簡潔に行うことができる
Summary Hono Takibi は、スキーマ駆動のAPI 開発を支援するライブラリ 先に、OpenAPI 定義を用意して、Zod OpenAPI Hono を生成
Getting Started with Hono Takibi 🔥