Forum Discussion

tensor's avatar
4 years ago

Go Generating Server and Open API



I'm discovering Swagger and doing some tests to see if we can use it to speed up our development API. For the moment, I used the swagger editor online ( to design my endpoints and my authentification scheme by following Open API 3 convention. But when I'm trying to generate the server backbone code with bearer token authentification, there is no trace of any middleware or bearer authentification.

When I tried with Python-Flaskn the code generated handled correctly the bearer authentifcation.

Have I done something bad in goland ? Should I write the middleware structure by myself ? Did I missunderstand something ?


Thank for reading.