Go-Swagger in production

Teamwork is a big deal. To make it a little easier, we use swagger to describe the REST API. So the front and the back are always synchronized by sintering.

On the backend, we use go-swagger to generate all methods and types of our API. This saves a lot of time writing the REST API.

But the great power of go-swagger also causes great responsibility. I will tell you how the generated code forces you to dance to your tune, and how you can successfully fight it. I'll also share the hacks, tricks, and dodgy solutions we learned in the process.