Upgrade to Pro — share decks privately, control downloads, hide ads and more …

OpenAPIことはじめ

ゆるゆる
September 24, 2021

 OpenAPIことはじめ

技育CAMP 2021-09 で発表した内容です
https://talent.supporterz.jp/events/c01ce860-9f20-40ce-8d6b-46b14e1b3f25/

ゆるゆる

September 24, 2021
Tweet

More Decks by ゆるゆる

Other Decks in Programming

Transcript

  1. ΏΔΏΔ / sun-yryr / @taittide w גࣜձࣾΏΊΈ৽ଔೖࣾ w 4FSWFSTJEF&OHJOFFS 1)1

    /PEFKT ΍ͬͯ·͢ɻ GitHub Twitter ܦྺ ޷͖ͳ͜ͱ w 4XJGU 4FSWFSTJEF $*$% w 75VCFS taittide sunyryr
  2. OpenAPI / Swaggerͱ͸ • REST APIͷهड़ϑΥʔϚοτ • yaml or jsonͰهड़Ͱ͖Δ

    • Ұੲલ·Ͱ͸Swagger Speci fi cation͕ଘࡏ͍ͯͨ͠ 
 ͜ΕΛݩʹ֦ு͞Εͯݱࡏ࢖ΘΕ͍ͯΔͷ͕OpenAPI(Speci fi cation) • ݱࡏόʔδϣϯ3
  3. OpenAPI / Swaggerͱ͸ • OAS(OpenAPI Speci fi cation) Λิॿ͢Δπʔϧͷ૯শ •

    Swagger Editor (هड़ɾม׵) • Swagger UI (දࣔ) • Swagger Codegen (ίʔυੜ੒)
  4. • openapi (όʔδϣϯ) • info (৘ใ) • servers (ϕʔεURL) •

    paths (ΤϯυϙΠϯτ) • components (࠶ར༻ՄೳͳΦϒδΣΫτ) • tags (λά)
  5. Swagger Codegen language: dart, csharp, go, java, python, ruby, php,

    swift5, typescript-fetch, javascript, etc…