Go-Swagger in production: wins and pitfalls (EN)

I use OpenAPI (Swagger 2.0) specifications to decouple work of the font-end and back-end teams. The specification clearly communicates how our backend REST API works.

With go-swagger, I am able to generate the API-related handlers and structures in Go. That saves a lot of time by reducing the amount of hand-written boilerplate code.

However go-swagger has its own way of doing things and it might be hard to use. But I learned to work it out, and I'll tell you how.