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
楽しく家でAPI開発するためにSwaggerつかってる話 / A story about Sw...
Search
ctyo
July 18, 2019
Programming
0
380
楽しく家でAPI開発するためにSwaggerつかってる話 / A story about Swagger to home develop a fun API
ctyo
July 18, 2019
Tweet
Share
More Decks by ctyo
See All by ctyo
名古屋IT系地図 2020初春
ctyo
1
6k
名古屋検索勉強会 #10 XML検索/ iir10 xmlsaerch
ctyo
3
400
7章 検索システム全体のスコア計算 / 7 scoreing in all search system
ctyo
1
240
#名古屋検索勉強会 やってます / nagoya-search-tech-study
ctyo
1
340
各種地図系WebAPI 限界ピン立てノウハウ / maximam pins on any map apis
ctyo
0
670
飲酒時の事故を小さくするエンジニアリング / Minimize Engineering for Drinking Trouble
ctyo
0
240
ionicでクロスプラットフォーム開発ことはじめ / ionic, bootstrap dev
ctyo
0
350
Other Decks in Programming
See All in Programming
subpath importsで始めるモック生活
10tera
0
310
聞き手から登壇者へ: RubyKaigi2024 LTでの初挑戦が 教えてくれた、可能性の星
mikik0
1
130
Generative AI Use Cases JP (略称:GenU)奮闘記
hideg
1
300
Compose 1.7のTextFieldはPOBox Plusで日本語変換できない
tomoya0x00
0
190
NSOutlineView何もわからん:( 前編 / I Don't Understand About NSOutlineView :( Pt. 1
usagimaru
0
340
CSC509 Lecture 13
javiergs
PRO
0
110
Micro Frontends Unmasked Opportunities, Challenges, Alternatives
manfredsteyer
PRO
0
110
Less waste, more joy, and a lot more green: How Quarkus makes Java better
hollycummins
0
100
Creating a Free Video Ad Network on the Edge
mizoguchicoji
0
120
Ethereum_.pdf
nekomatu
0
470
EMになってからチームの成果を最大化するために取り組んだこと/ Maximize team performance as EM
nashiusagi
0
100
初めてDefinitelyTypedにPRを出した話
syumai
0
420
Featured
See All Featured
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.1k
Testing 201, or: Great Expectations
jmmastey
38
7.1k
Building Your Own Lightsaber
phodgson
103
6.1k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
720
The Art of Programming - Codeland 2020
erikaheidi
52
13k
Why Our Code Smells
bkeepers
PRO
334
57k
Making the Leap to Tech Lead
cromwellryan
133
8.9k
5 minutes of I Can Smell Your CMS
philhawksworth
202
19k
Writing Fast Ruby
sferik
627
61k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
250
21k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
665
120k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
42
9.2k
Transcript
ࢲָ͕͘͠ ݸਓͰ։ൃ͢ΔͨΊͷϊϋ "1*ฤ !D@UZP
ࣗݾհ ڈͱ͔ɺͪΐͬͱόζͬͨͭ ΤϯδχΞͱͯ͠όζͬͯͳ͍
ݸਓͰ։ൃ͢Δͱ͖ w ձࣾऴΘͬͨ͋ͱͱ͔ʹΔ w ͍͍ͩͨ)1͕৭ʹͳͬͯΔঢ়ଶͰΔ
͓ՈͰ։ൃ͢Δͱ͖ w ͱΓ͋͑ͣͰݟ͑ͯɺಈ͔ͤͳ͍ͱ Ϟνϕʔγϣϯ͕ଓ͔ͳ͍ ݸਓͷײ
ಛʹ"1*͋Μ·Γ Ϟνϕʔγϣϯ͕͋Βͳ͍ w ը໘͕ͳ͍͠ɺ։ൃʹ͔ͳΓͷ࣌ؒΛׂ͘ w 8FCΞϓϦͱͭͳ͙ͱ͖ͷ*'Λߟ͑ͳ͍ͱ͍͚ͳ͍
4XBHHFS͔ͭ͑ υΩϡϝϯτը໘Λͭ͘ΕΔΑ TXBHHFSJP͔Βൈਮ
ָ͍͠ HJGಈը
+40/Λॻ͚ ͜ͷը໘ͭ͘ΕΔΑ https://petstore.swagger.io/v2/swagger.json
+40/Λॻ͚ ͜ͷը໘ͭ͘ΕΔΑ https://petstore.swagger.io/v2/swagger.json ฦ٫ ύϥϝʔλʔ ύεͱϝιου ෦Ͱݺͼग़͞ΕΔϝιου໊
4XBHHFS$PEFHFO w ༷ॻ͔ΒιʔείʔυΛδΣωϨʔτͯ͘͠ΕΔ w CSFXJOTUBMMTXBHHFSDPEFHFOͰ049ͩͱ͑Δ
ରԠݴޠ'8 IUUQTHJUIVCDPNTXBHHFSBQJTXBHHFSDPEFHFOUSFFNBTUFSNPEVMFT TXBHHFSDPEFHFOTSDNBJOSFTPVSDFT
"1*αʔό͕Ͱ͖Δ
"1*αʔό͕Ͱ͖Δ ZBNM ίϯτϩʔϥ αʔϏε
ॴײ w ݴޠʹΑ࣭ͬͯαϙʔτൣғશવҧ͏ɻ w ΈͯΈͨͷ1)1ͱ4MJNͱOPEFKTͱ54ͱ4QSJOH#PPU w αϯϓϧίʔυ·͠·͠ͷͷ͋Εɺ؆ૉͳͷ
ݴޠ͝ͱͷରԠํ๏
$PEF(FOͷ ͍͍ͱ͜Ζ w "1*ͷछྨΛ૿͢ͱ͖ɺύϥϝʔλʔΛ૿͢ͱ͖ʹ ఆٛͷZBNMΛߋ৽͢Δඞཁ͕͋Δɻ w ζϘϥͳਓؒʹυΩϡϝϯτߋ৽ΕΛ͙།Ұͷ खஈ w "1*αʔόΛىಈͤ͞ΔͱυΩϡϝϯτը໘͕ಈ͘X
ָ͠͞େࣄ w ՈͰΔͱ͖໘ʹࢥͬͨॠؒʹ ָ͘͠ͳ͘ͳͬͯΔͷͰɺָ͍͠ΓํΛݟ͚ͭΔͷେࣄ
σϞ