Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
スキーマ駆動で、Zod OpenAPI Honoによる、API開発するために、Hono Tak...
Search
N Akita
October 17, 2025
Programming
790
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
スキーマ駆動で、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
130
TypeSciprt + Express + Prisma + Node.js API開発
nakita628
0
45
Other Decks in Programming
See All in Programming
When benchmarks go bad - what I learned from measuring performance wrong
hollycummins
0
220
ハーネス設計入門 〜 基礎知識の整理から実務へのステップアップ 〜
kinopeee
28
32k
RAG の “R” を Swift で覗いてみる 〜「意味から探す」検索の仕組み〜
nao_randd
0
160
Simple Storage Service(S3) is not simple
iwatsukayura
0
290
Domain-Driven Transformation
hschwentner
2
2.3k
Vue Fes Japan の “作る側”に関わってみて
naokihaba
0
160
dotNET_vulnclicker_intro.pdf
deka_morita
0
140
複雑なUIコンポーネントとの ⻑い付き合い⽅:波及するバグからテスト戦略を経て、安全な再設計へ
mixplace
0
410
GemmaをJevのように使ってみる / Use Gemma like Jev
kishida
5
790
R8 の設定見直しでアプリサイズ削減
andpad
0
220
設計次第でAIコードの読む量は減らせる / designing-for-code-reading
minodriven
35
17k
AmebaブログはKMPから卒業します
kmars0605
0
180
Featured
See All Featured
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.4k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
7k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
330
Building an army of robots
kneath
307
47k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
300
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.3k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
320
Site-Speed That Sticks
csswizardry
13
1.6k
Designing Powerful Visuals for Engaging Learning
tmiket
1
610
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.3k
Code Review Best Practice
trishagee
74
20k
A better future with KSS
kneath
240
18k
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 🔥