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

Swagger Driven Development

Swagger Driven Development

Quick lightning talk from GopherCon EU Tenerife.
Relevant code: https://github.com/suda/go-swagger-example

Wojtek Siudzinski

June 01, 2019
Tweet

More Decks by Wojtek Siudzinski

Other Decks in Programming

Transcript

  1. 2 $ whoami Wojtek `suda` Siudzinski Señor Software Engineer @

    Particle Founder @ Appsome! @suda on Twitter and GitHub GopherCon EU 1 June 2019
  2. 6 go-swagger tl;dr The main difference between swagger-codegen and go-swagger,

    at this moment is that the latter one actually works... GopherCon EU 1 June 2019
  3. 7 GopherCon EU 1 June 2019 3 4 2 1

    API server Scaffold API server codebase Middlewares Routing, validation and authorization Swagger UI Document the API and the endpoints 1 1 1 2 2 2 3 3 3 API client Generate Go client package 4 4 4