{"meta":{"name":"FindSoftware","page":"https://findsoftware.frbit.cloud/swag/","markdown":"https://findsoftware.frbit.cloud/swag.md","license":"https://creativecommons.org/licenses/by/4.0/","attribution":"FindSoftware, CC BY 4.0","note":"Attributes are recorded, never scored. An absent field means unknown, never zero and never bad."},"record":{"id":"swag","name":"swag","urls":{"repository":"https://github.com/swaggo/swag","docs":"https://github.com/swaggo/swag#getting-started","plugins":"https://github.com/swaggo/swag#supported-web-frameworks"},"category":["dev-tool","backend"],"description":"Command-line tool that generates Swagger 2.0 API documentation for Go projects from annotations in the source code.","maintainer":"Eason Lin","maintainerType":"individual","firstRelease":2017,"hosting":["binary"],"language":"go","runtime":["binary"],"installMethod":"go install, docker, download","licenseModel":"open-source","license":"MIT","currentMajor":"1","latestReleaseDate":"2025-07-29T00:00:00.000Z","githubStargazers":13053,"contributors":251,"packagistDownloads":null,"npmWeeklyDownloads":null,"pluginCount":10,"dependentRepos":5009,"dependentPackages":3609,"checkedAt":"2026-11-16T00:00:00.000Z","addedAt":"2026-11-16T00:00:00.000Z","sources":[{"field":"name","url":"https://raw.githubusercontent.com/swaggo/swag/v1.16.6/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"urls","url":"https://api.github.com/repos/swaggo/swag","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"urls","url":"https://raw.githubusercontent.com/swaggo/swag/v1.16.6/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"firstRelease","url":"https://api.github.com/repos/swaggo/swag/releases","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"maintainer","url":"https://raw.githubusercontent.com/swaggo/swag/master/license","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"maintainerType","url":"https://raw.githubusercontent.com/swaggo/swag/master/license","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"language","url":"https://api.github.com/repos/swaggo/swag","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"category","url":"https://raw.githubusercontent.com/swaggo/swag/v1.16.6/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"runtime","url":"https://raw.githubusercontent.com/swaggo/swag/v1.16.6/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"installMethod","url":"https://raw.githubusercontent.com/swaggo/swag/v1.16.6/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"installMethod","url":"https://raw.githubusercontent.com/swaggo/swag/v1.16.6/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"installMethod","url":"https://raw.githubusercontent.com/swaggo/swag/v1.16.6/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"license","url":"https://raw.githubusercontent.com/swaggo/swag/master/license","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"licenseModel","url":"https://raw.githubusercontent.com/swaggo/swag/master/license","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"currentMajor","url":"https://api.github.com/repos/swaggo/swag/releases","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"latestReleaseDate","url":"https://api.github.com/repos/swaggo/swag/releases","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"githubStargazers","url":"https://api.github.com/repos/swaggo/swag","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"contributors","url":"https://api.github.com/repos/swaggo/swag/contributors?per_page=1","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"urls","url":"https://raw.githubusercontent.com/swaggo/swag/v1.16.6/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"pluginCount","url":"https://raw.githubusercontent.com/swaggo/swag/v1.16.6/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"dependentPackages","url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fswaggo%2Fswag","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"dependentRepos","url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fswaggo%2Fswag","checkedAt":"2026-11-16T00:00:00.000Z"}],"status":"active","ai":"authored"},"prose":"swag is a Go command-line tool that generates Swagger 2.0 documentation from annotations written as comments in Go source code. The [getting started section](https://github.com/swaggo/swag#getting-started) starts by adding those comments to the API source code.\n\nIntegrations for several Go web frameworks are separate repositories, listed in the README under its supported frameworks."}