Swagger
How to Integrate Swagger UI in Go Backend - Gin Edition
· ☕ 11 min read
Unlike FastAPI, Gin does not have OpenAPI integration built in. With FastAPI when you add a route, documentation is already generated. With Gin, this is not the case. But recently I integrated Swagger UI in one of my Go backends and I wanted to document that process.
https://d2kbulfv42d43j.cloudfront.net/2022/Q2/swagger-ui-routes-documented.png