Was macht golang-swagger?
Golang OpenAPI/Swagger-Dokumentation mit swaggo/swag – Annotationskommentare (@Summary, @Param, @Success, @Router, @Security), Codegenerierung per swag init, Framework-Integrationen (gin, echo, fiber, chi, net/http), Sicherheitsdefinitionen (Bearer/JWT, OAuth2, API-Key) und Struct-Tags (swaggertype, enums, example, swaggerignore). Anwenden beim Hinzufügen oder Pflegen von Swagger/OpenAPI-Dokumentation in einem Go-Projekt oder wenn die Codebasis github.com/swaggo/swag, github.com/swaggo/gin-swagger, github.com/swaggo/echo-swagger, github.com/swaggo/http-swagger oder github.com/swaggo/files importiert.