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
910
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
WebAPIのPATCHについて
t_pori418
0
150
AIの言う通りにやったら Webアプリが作れるのか試してみた (ChatGPT)
t_pori418
0
930
AWSにおけるアカウント/ユーザーとは何かをなんとなく理解する
t_pori418
0
290
Markdownで登壇資料を作りたい
t_pori418
0
340
GitHub Projectsのみでプロダクト開発を管理する
t_pori418
0
290
Nuxt.jsから始めるPWA生活
t_pori418
0
890
AWSサーバーレスアーキテクチャでWebサイトを構築してみた
t_pori418
0
620
Vue.jsによるSPAのDDDについて考える(導入編)
t_pori418
0
3.2k
Other Decks in Technology
See All in Technology
GrafanaMeetup_AmazonManagedGrafanaのアクセス制御機能とマルチテナント環境下でのアクセス制御について
daitak
0
240
現代CSSフレームワークの内部実装とその仕組み
poteboy
7
3.6k
本当のAWS基礎
toru_kubota
0
520
APIファーストなプロダクトマネジメントの実践 〜SaaSus Platformでの例〜 / "Practicing API-First Product Management - An Example with SaaSus Platform
oztick139
0
110
Google Cloud Next '24 Recap(Cloud Run/k8s)
mokocm
0
230
EMとして2023年度に頑張ったこと / What we did well in FY2023 as a EM
pauli
1
170
競技としてのKaggle、役に立つKaggle
yu4u
3
1.7k
リテール金融(キャッシュレス・ネット銀行・ネット証券)の競争環境と経済圏
8maki
0
1.2k
FrontDoorとWebAppsを組み合わせた際のリダイレクト処理の注意点
kenichirokimura
1
530
web-application-security
matsuihidetoshi
0
170
どうするコスト最適化のトレードオフ
tetsuyaooooo
1
530
VS CodeでAWSを操作しよう
smt7174
8
1.7k
Featured
See All Featured
Large-scale JavaScript Application Architecture
addyosmani
504
110k
A Tale of Four Properties
chriscoyier
151
22k
The Invisible Customer
myddelton
114
12k
The Cult of Friendly URLs
andyhume
74
5.7k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
14
1.6k
Designing for humans not robots
tammielis
248
25k
Into the Great Unknown - MozCon
thekraken
10
990
No one is an island. Learnings from fostering a developers community.
thoeni
16
2.1k
Practical Orchestrator
shlominoach
182
9.7k
How to name files
jennybc
65
93k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
40
4.4k
The Cost Of JavaScript in 2023
addyosmani
16
3.9k
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ͰͰ͖ͨʂʂʂ (λΠτϧʹِΓͳ͠)