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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
N Akita
October 17, 2025
Programming
680
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
84
TypeSciprt + Express + Prisma + Node.js API開発
nakita628
0
31
Other Decks in Programming
See All in Programming
色即是空、空即是色、データサイエンス
kamoneggi
1
130
Stage 3 Decorators でできること / できないこと / TSKaigi 2026
susisu
1
270
サーバーレスで作る、動画データ管理基盤
oyasumipants
0
230
「なんか〇〇ライブラリで脆弱性あるみたいなんだけど。。。」から始める脆弱性対応 / First Steps in Vulnerability Response
mackey0225
2
130
Are We Really Coding 10× Faster with AI?
kohzas
0
200
Back to the roots of date
jinroq
0
910
Agentic AI & UI: Arcitecture, HITL, Emerging Standards
manfredsteyer
PRO
0
120
AI時代だからこそ「Bloc」を採用する価値があるのかもしれない
takuroabe
0
200
Structured Concurrency, Scoped Values and Joiners in the JDK 25 26 27
josepaumard
1
160
サプライチェーン攻撃対策「層を重ねて落ちない壁」を10日間で組み上げた話 #TechLeadConf2026
kashewnuts
1
300
Modding RubyKaigi for Myself
yui_knk
0
300
Kubernetesを使わない環境にもCloud Nativeなデプロイを実現する / Enabling Cloud Native deployments without the complexity of Kubernetes
linyows
3
430
Featured
See All Featured
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.3k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.1k
Test your architecture with Archunit
thirion
1
2.2k
Into the Great Unknown - MozCon
thekraken
41
2.5k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
120
30 Presentation Tips
portentint
PRO
1
300
Technical Leadership for Architectural Decision Making
baasie
3
370
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
180
Bash Introduction
62gerente
615
210k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.9k
KATA
mclloyd
PRO
35
15k
Writing Fast Ruby
sferik
630
63k
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 🔥