Save 37% off PRO during our Black Friday Sale! »

楽しく家でAPI開発するためにSwaggerつかってる話 / A story about Swagger to home develop a fun API

E5a02561663444015156f99bc38e153f?s=47 ctyo
July 18, 2019

楽しく家でAPI開発するためにSwaggerつかってる話 / A story about Swagger to home develop a fun API

E5a02561663444015156f99bc38e153f?s=128

ctyo

July 18, 2019
Tweet

Transcript

  1. ࢲָ͕͘͠
 ݸਓͰ։ൃ͢ΔͨΊͷϊ΢ϋ΢
 "1*ฤ !D@UZP

  2. ࣗݾ঺հ ڈ೥ͱ͔ɺͪΐͬͱόζͬͨ΍ͭ ΤϯδχΞͱͯ͠͸όζͬͯͳ͍

  3. ݸਓͰ։ൃ͢Δͱ͖ w ձࣾऴΘͬͨ͋ͱͱ͔ʹ΍Δ w ͍͍ͩͨ)1͕੺৭ʹͳͬͯΔঢ়ଶͰ΍Δ

  4. ͓ՈͰ։ൃ͢Δͱ͖ w ͱΓ͋͑ͣ໨Ͱݟ͑ͯɺಈ͔ͤͳ͍ͱ
 Ϟνϕʔγϣϯ͕ଓ͔ͳ͍ ݸਓͷײ૝

  5. ಛʹ"1*͸͋Μ·Γ
 Ϟνϕʔγϣϯ͕͋Βͳ͍ w ը໘͕ͳ͍͠ɺ։ൃʹ͔ͳΓͷ࣌ؒΛׂ͘ w 8FC΍ΞϓϦͱͭͳ͙ͱ͖ͷ*'Λߟ͑ͳ͍ͱ͍͚ͳ͍

  6. 4XBHHFS͔ͭ͑͹
 υΩϡϝϯτը໘Λͭ͘ΕΔΑ TXBHHFSJP͔Βൈਮ

  7. ָ͍͠ HJGಈը

  8. +40/Λॻ͚͹
 ͜ͷը໘ͭ͘ΕΔΑ https://petstore.swagger.io/v2/swagger.json

  9. +40/Λॻ͚͹
 ͜ͷը໘ͭ͘ΕΔΑ https://petstore.swagger.io/v2/swagger.json ฦ٫஋ ύϥϝʔλʔ ύεͱϝιου ಺෦Ͱݺͼग़͞ΕΔϝιου໊

  10. 4XBHHFS$PEFHFO w ࢓༷ॻ͔ΒιʔείʔυΛδΣωϨʔτͯ͘͠ΕΔ w CSFXJOTUBMMTXBHHFSDPEFHFOͰ049ͩͱ࢖͑Δ

  11. ରԠݴޠ'8 IUUQTHJUIVCDPNTXBHHFSBQJTXBHHFSDPEFHFOUSFFNBTUFSNPEVMFT TXBHHFSDPEFHFOTSDNBJOSFTPVSDFT

  12. "1*αʔό͕Ͱ͖Δ

  13. "1*αʔό͕Ͱ͖Δ ZBNM ίϯτϩʔϥ αʔϏε૚

  14. ॴײ w ݴޠʹΑͬͯ඼࣭΍αϙʔτൣғ΋શવҧ͏ɻ w ΈͯΈͨͷ͸1)1ͱ4MJNͱOPEFKTͱ54ͱ4QSJOH#PPU w αϯϓϧίʔυ·͠·͠ͷ΋ͷ΋͋Ε͹ɺ؆ૉͳͷ΋

  15. ݴޠ͝ͱͷରԠํ๏

  16. $PEF(FOͷ ͍͍ͱ͜Ζ w "1*ͷछྨΛ૿΍͢ͱ͖ɺύϥϝʔλʔΛ૿΍͢ͱ͖ʹ
 ఆٛͷZBNMΛߋ৽͢Δඞཁ͕͋Δɻ w ζϘϥͳਓؒʹ͸υΩϡϝϯτߋ৽΋ΕΛ๷͙།Ұͷ खஈ w "1*αʔόΛىಈͤ͞ΔͱυΩϡϝϯτը໘͕ಈ͘X

  17. ָ͠͞େࣄ w ՈͰ΍Δͱ͖໘౗ʹࢥͬͨॠؒʹ
 ָ͘͠ͳ͘ͳͬͯΔͷͰɺָ͍͠΍ΓํΛݟ͚ͭΔͷେࣄ

  18. σϞ