Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
10分でAmazon API GatewayにOpen API 3.0のAPI仕様をインポートする
thori
February 02, 2019
Technology
1
630
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
AWSにおけるアカウント/ユーザーとは何かをなんとなく理解する
t_pori418
0
41
Markdownで登壇資料を作りたい
t_pori418
0
73
GitHub Projectsのみでプロダクト開発を管理する
t_pori418
0
160
Nuxt.jsから始めるPWA生活
t_pori418
0
610
AWSサーバーレスアーキテクチャでWebサイトを構築してみた
t_pori418
0
440
Vue.jsによるSPAのDDDについて考える(導入編)
t_pori418
0
2.5k
Other Decks in Technology
See All in Technology
モダンデータスタックとかの話(データエンジニアのお仕事とは)
foursue
0
370
Dagu | オンプレ向けワークフローエンジン(WebUI 同梱)
yohamta
0
110
組織でPower Virtual Agentsを導入するために知っておきたいこと
miyakemito
0
1.6k
失敗しない条件付きアクセス Season 3
sophiakunii
0
1.4k
次期LTSに備えよ!AOS 6.1 HCI Core 編
smzksts
0
170
一人から始めるプロダクトSRE / How to start SRE in a product team, all by yourself
vtryo
4
2.4k
Who owns the Service Level?
chaspy
5
840
Puny to Powerful PostgreSQL Rails Apps
andyatkinson
PRO
0
260
Power BIのモバイルと都 +1 / Tokyo
ishiayaya
0
140
[SRE NEXT 2022]ヤプリのSREにおけるセキュリティ強化の取り組みを公開する
mmochi23
1
320
インフラエンジニアBooks 30分でわかる「Dockerコンテナ開発・環境構築の基本」
cyberblack28
11
6.9k
New Features in C# 10/11
chack411
0
880
Featured
See All Featured
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
212
20k
Optimizing for Happiness
mojombo
365
63k
Fontdeck: Realign not Redesign
paulrobertlloyd
73
4.1k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
237
19k
Producing Creativity
orderedlist
PRO
333
37k
No one is an island. Learnings from fostering a developers community.
thoeni
9
1.1k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
15
910
jQuery: Nuts, Bolts and Bling
dougneiner
56
6.4k
Building Better People: How to give real-time feedback that sticks.
wjessup
343
17k
Teambox: Starting and Learning
jrom
121
7.6k
The Mythical Team-Month
searls
208
39k
Three Pipe Problems
jasonvnalue
89
8.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ͰͰ͖ͨʂʂʂ (λΠτϧʹِΓͳ͠)