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
10分でAmazon API GatewayにOpen API 3.0のAPI仕様をインポートする
Search
thori
February 02, 2019
Technology
1
1.2k
10分でAmazon API GatewayにOpen API 3.0のAPI仕様をインポートする
Gunma.web #34 スキーマ駆動開発 5分LT
AWS API Gatewayのswaggerインポートを試した
thori
February 02, 2019
Tweet
Share
More Decks by thori
See All by thori
AIと開発する話をみんなとシェアしたい
t_pori418
1
92
AIとプロダクトエンジニア
t_pori418
0
110
WebAPIのPATCHについて
t_pori418
0
220
AIの言う通りにやったら Webアプリが作れるのか試してみた (ChatGPT)
t_pori418
0
1.1k
AWSにおけるアカウント/ユーザーとは何かをなんとなく理解する
t_pori418
0
370
Markdownで登壇資料を作りたい
t_pori418
0
470
GitHub Projectsのみでプロダクト開発を管理する
t_pori418
0
350
Nuxt.jsから始めるPWA生活
t_pori418
0
1.2k
AWSサーバーレスアーキテクチャでWebサイトを構築してみた
t_pori418
0
850
Other Decks in Technology
See All in Technology
VCC 2025 Write-up
bata_24
0
180
o11yで育てる、強い内製開発組織
_awache
3
110
「技術負債にならない・間違えない」 権限管理の設計と実装
naro143
35
11k
生成AIで「お客様の声」を ストーリーに変える 新潮流「Generative ETL」
ishikawa_satoru
1
290
Windows で省エネ
murachiakira
0
160
いまさら聞けない ABテスト入門
skmr2348
1
190
From Prompt to Product @ How to Web 2025, Bucharest, Romania
janwerner
0
110
AI ReadyなData PlatformとしてのAutonomous Databaseアップデート
oracle4engineer
PRO
0
150
pprof vs runtime/trace (FlightRecorder)
task4233
0
150
Trust as Infrastructure
bcantrill
0
300
PythonとLLMで挑む、 4コマ漫画の構造化データ化
esuji5
1
130
"複雑なデータ処理 × 静的サイト" を両立させる、楽をするRails運用 / A low-effort Rails workflow that combines “Complex Data Processing × Static Sites”
hogelog
3
1.8k
Featured
See All Featured
We Have a Design System, Now What?
morganepeng
53
7.8k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Git: the NoSQL Database
bkeepers
PRO
431
66k
A Modern Web Designer's Workflow
chriscoyier
697
190k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
15k
Art, The Web, and Tiny UX
lynnandtonic
303
21k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.6k
The Art of Programming - Codeland 2020
erikaheidi
56
14k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
Designing for Performance
lara
610
69k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
2.6k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.6k
Transcript
10ͰAmazon API Gatewayʹ Open API 3.0ͷ API༷ΛΠϯϙʔτ͢Δ Gunma.web #34 εΩʔϚۦಈ։ൃ
Takashi Hori
ɾງ وࢺɹɹ@t_pori418 ɾ܈അݝࡏॅ⁵౦ژ ɾWebΤϯδχΞ ɾ͘ઙ͘ͳΜͰΓ·͢ ɾγεςϜܥ, WebαʔϏεܥ
ࢼ͠ʹWebαΠτͷ͓͍߹Θͤ APIΛ࡞ͬͯΈΔ
swagger editerͰyamlॻ͘ https://editor.swagger.io/
None
None
None
None
API GatewayͰΠϯϙʔτ - ϦιʔεͷΞΫγϣϯ͔ΒΠϯϙʔτ - ·ͨ৽نAPIͷ࡞Ͱ `Swagger͔ΒΠϯϙʔτ` Λબ
Ϧιʔε͕૿͑Δ
APIͷܨ͗ઌઃఆͱ͔Δ
࣮ߦॲཧLambdaΛ༻͍ͯ͠·͢ ϝʔϧૹͬͨΓɺslack࿈ܞͨ͠Γͯ͠·͢ ઢ͢ΔͷͰؾʹͳΔํϒϩάݟ͍͚ͯͨͩΕ https://poriweb.hatenablog.com/entry/2018/12/14/073000
OPTIONSͷํΔ
σϓϩΠ
REST clientͰ࣮ߦͯ͠Έͨ
None
ॴײ
- όϦσʔγϣϯνΣοΫͷίʔυ ɹࣗಈੜ͍ͨ͠ - API Gatewayͷܨ͗ઌͱ͔݁ہखͰઃఆ ɹͨ͠ͷͰࣗಈԽͷΈ࡞Γ͍ͨ͠ API Gatewayʹͦͷ··औΓࠐΜ͚ͩͩͳͷͰ ɹͰ͖͍ͯͳ͍ͷͨΓલͰ͋Γ·͕͢…
·ͱΊ
API GatewayʹΠϯϙʔτ 10ͰͰ͖ͨʂʂʂ (λΠτϧʹِΓͳ͠)