swaggo/swag
Swag reads declarative comments above Go handlers and structs and emits a Swagger 2.0 specification, so an existing API gets browsable documentation without a separate schema file. It ships plugins for popular Go web frameworks, supports security definitions, model composition and custom types, and generates the docs package that Swagger UI serves. The tool is written in Go and runs as a CLI in the build pipeline.
Maintenance activity