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
710
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
90
TypeSciprt + Express + Prisma + Node.js API開発
nakita628
0
34
Other Decks in Programming
See All in Programming
依存関係から依存物へ―Dependencyという言葉の歴史をひも解く
j_lee
0
120
生成AI時代にこそ効くGo | Why Go Works in the Age of Generative AI
mom0tomo
8
3.2k
Signal Forms: Details & Live Coding @enterJS 2026 in Mannheim
manfredsteyer
PRO
0
130
「なぜそう決めたのか」を残し続ける仕組み ― Notion AI カスタムエージェント × Slack連携による設計判断の自動記録 - NIKKEI Tech Talk #47
niftycorp
PRO
0
170
3Dシーンの圧縮
fadis
1
770
コンテキストの使い捨てをやめる — ビジネスルール駆動開発と miko —
ioki
0
200
Snowflake Summitでの新機能 CoCo / CoWork / snowflake-summit-2026-overall-what-new-coco
tatsuhiro
1
130
Datadog × OpenTelemetry 入門と実践のあいだ
kn_to_maxpno
1
160
Javaの型とAI時代に型が大事な理由 / java types and type in AI era
kishida
2
130
Creating Composable Callables in Contemporary C++
rollbear
0
130
不変条件と整合性境界—ビジネスが決める設計判断と実現パターン / Invariants and Consistency Boundaries
nrslib
13
4.5k
技術記事、AIに書かせるか、自分で書くか? 〜それでも私が自分の手で書く理由〜 / #QiitaConference
jnchito
2
1.4k
Featured
See All Featured
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
200
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.6k
WENDY [Excerpt]
tessaabrams
11
38k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
410
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
390
Thoughts on Productivity
jonyablonski
76
5.2k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
580
Marketing to machines
jonoalderson
1
5.4k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.2k
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 🔥