{"id":4102,"url":"https://github.com/swaggo/swag","last_synced_at":"2026-07-08T00:20:18.442Z","repository":{"id":37335162,"uuid":"93928882","full_name":"swaggo/swag","owner":"swaggo","description":"Automatically generate RESTful API documentation with Swagger 2.0 for Go.","archived":false,"fork":false,"pushed_at":"2025-11-26T07:28:24.000Z","size":5551,"stargazers_count":12401,"open_issues_count":402,"forks_count":1322,"subscribers_count":88,"default_branch":"master","last_synced_at":"2025-11-29T07:43:07.096Z","etag":null,"topics":["annotations","golang","openapi","swagger","swagger2"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/swaggo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"license","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-06-10T09:24:06.000Z","updated_at":"2025-11-29T01:30:12.000Z","dependencies_parsed_at":"2025-11-28T17:02:56.614Z","dependency_job_id":null,"html_url":"https://github.com/swaggo/swag","commit_stats":{"total_commits":767,"total_committers":220,"mean_commits":"3.4863636363636363","dds":0.7105606258148631,"last_synced_commit":"91624adb211bf1b9748c2e685cf269e533c53e40"},"previous_names":["easonlin404/gin-swagger","swag-gonic/swag"],"tags_count":57,"template":false,"template_full_name":null,"purl":"pkg:github/swaggo/swag","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swaggo%2Fswag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swaggo%2Fswag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swaggo%2Fswag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swaggo%2Fswag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swaggo","download_url":"https://codeload.github.com/swaggo/swag/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swaggo%2Fswag/sbom","scorecard":{"id":861473,"data":{"date":"2025-08-11","repo":{"name":"github.com/swaggo/swag","commit":"77771f0be4f3ed47e54b5872e9d3fb685bedbefb"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.1,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":9,"reason":"Found 27/28 approved changesets -- score normalized to 9","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":10,"reason":"9 commit(s) and 6 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/docker.yml:9","Warn: topLevel 'packages' permission set to 'write': .github/workflows/docker.yml:10","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: license:0","Info: FSF or OSI recognized license: MIT License: license:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/docker.yml:13"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/swaggo/swag/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/swaggo/swag/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docker.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/swaggo/swag/docker.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docker.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/swaggo/swag/docker.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docker.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/swaggo/swag/docker.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docker.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/swaggo/swag/docker.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docker.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/swaggo/swag/docker.yml/master?enable=pin","Warn: containerImage not pinned by hash: .github/actions/danger/Dockerfile:1: pin your Docker image by updating ruby:2.6 to ruby:2.6@sha256:a79c8ddb7f3d3748427e2d3a45dcae6d42f1d80d9ae3b98959b3a27b220bf434","Warn: containerImage not pinned by hash: Dockerfile:4","Warn: downloadThenRun not pinned by hash: .github/workflows/ci.yml:32","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   4 third-party GitHubAction dependencies pinned","Info:   0 out of   2 containerImage dependencies pinned","Info:   0 out of   1 downloadThenRun dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v1.16.6 not signed: https://api.github.com/repos/swaggo/swag/releases/235847693","Warn: release artifact v1.16.5 not signed: https://api.github.com/repos/swaggo/swag/releases/233021597","Warn: release artifact v2.0.0-rc4 not signed: https://api.github.com/repos/swaggo/swag/releases/188314058","Warn: release artifact v1.16.4 not signed: https://api.github.com/repos/swaggo/swag/releases/180706119","Warn: release artifact v1.16.3 not signed: https://api.github.com/repos/swaggo/swag/releases/139453680","Warn: release artifact v1.16.6 does not have provenance: https://api.github.com/repos/swaggo/swag/releases/235847693","Warn: release artifact v1.16.5 does not have provenance: https://api.github.com/repos/swaggo/swag/releases/233021597","Warn: release artifact v2.0.0-rc4 does not have provenance: https://api.github.com/repos/swaggo/swag/releases/188314058","Warn: release artifact v1.16.4 does not have provenance: https://api.github.com/repos/swaggo/swag/releases/180706119","Warn: release artifact v1.16.3 does not have provenance: https://api.github.com/repos/swaggo/swag/releases/139453680"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":5,"reason":"5 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77","Warn: Project is vulnerable to: GO-2024-3333","Warn: Project is vulnerable to: GO-2025-3503 / GHSA-qxp5-gwg8-xv66","Warn: Project is vulnerable to: GO-2025-3595 / GHSA-vvgc-356p-c3xw","Warn: Project is vulnerable to: GO-2024-3321 / GHSA-v778-237x-gjrc"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-24T01:25:46.769Z","repository_id":37335162,"created_at":"2025-08-24T01:25:46.769Z","updated_at":"2025-08-24T01:25:46.769Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27447045,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-02T02:00:06.387Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["annotations","golang","openapi","swagger","swagger2"],"created_at":"2024-01-11T16:49:13.345Z","updated_at":"2025-12-02T06:21:46.364Z","avatar_url":"https://github.com/swaggo.png","language":"Go","project_url":"https://opencollective.ecosyste.ms/api/v1/projects/4102","html_url":"https://opencollective.ecosyste.ms/projects/4102","collective":{"id":2731,"uuid":"ov349mrw-gz75lpy5-wo86a08d-jeybknox","slug":"swag","name":"swag","description":"Automatically generate RESTful API documentation with Swagger 2.0 for Go.","website":"","github":"swaggo/swag","twitter":null,"repository_url":null,"social_links":[{"type":"GITHUB","url":"https://github.com/swaggo/swag"}],"currency":"USD","projects_count":1,"last_synced_at":"2026-07-28T12:15:16.437Z","created_at":"2024-01-10T13:17:52.795Z","updated_at":"2026-07-28T12:15:16.617Z","transactions_count":116,"balance":1351.03,"account_type":"COLLECTIVE","owner":{"login":"swaggo","name":"Swaggo","uuid":"29616670","kind":"organization","description":"Automatically generate RESTful API documentation with Swagger 2.0 for Go","email":null,"website":"https://github.com/swaggo/swag","location":"Taipei, Taiwan","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/29616670?v=4","repositories_count":9,"last_synced_at":"2023-03-02T20:45:18.049Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/swaggo","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-13T11:07:41.068Z","updated_at":"2023-03-02T20:45:18.068Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swaggo","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swaggo/repositories"},"last_project_activity_at":"2025-11-26T07:28:24.000Z","archived":false,"no_funding":false,"no_license":false,"host":"opensource","collective_created_at":"2019-02-22T11:33:21.366Z","collective_updated_at":"2022-09-27T10:06:03.566Z","html_url":"https://opencollective.com/swag","icon_url":"https://images.opencollective.com/swag/logo/40.png","total_donations":1351.8999999999999,"total_expenses":-147.05,"current_balance":1351.03,"api_url":"https://opencollective.ecosyste.ms/api/v1/collectives/swag","url":"https://opencollective.ecosyste.ms/collectives/swag","projects_url":"https://opencollective.ecosyste.ms/api/v1/collectives/swag/projects"}}