Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-10-21 00:56 UTC

swaggo / swag

Automatically generate RESTful API documentation with Swagger 2.0 for Go.

GoMIT★ 13,041 stars⑂ 1,501 forkssince Jun 2017View on GitHub ↗
KindCommand-line toolLibraryhow this is determined

swaggo/swag holds a health index of 83 out of 100, placing it in the Excellent band. It scores highest on Community & Adoption (94/100) and lowest on Security (54/100). It was last updated 20 days ago. 3 contributors account for most of its recent work.

83
overall / 100
Excellent

Software health index

Metrics are grouped into weighted categories on one standardized 1–100 scale. Overall starts as their weighted mean, calibrated against the distribution of the public record so bands carry percentile meaning; when public evidence triggers the High-Risk Jurisdiction Policy, the rating is adjusted and receives an At Risk ceiling of 34.

83
Exceptional93-100The record's top tier (≈ top 5%); essentially all checked criteria met
Excellent80-92Strong across the board; minor gaps
Good65-79Healthy; gaps are limited and manageable
Moderate50-64Acceptable with notable gaps; review recommended
Weak35-49Material weaknesses across several areas
At Risk20-34Significant weaknesses; adoption warrants caution
Critical1-19Severe problems (abandoned, single-maintainer, no hygiene)
VitalityCommunity &AdoptionSustainability &GovernanceEngineeringQualitySecurityAI Readiness

Score profile

Each axis is a category. The shape matters more than the average — a healthy subject fills the whole shape, while a spike-and-crater profile means strength in one dimension is masking risk in another.

The weighted overall 70 is calibrated to 83 on the published index scale (record calibration 2026-08-02).

Ownership

SwaggoOrganization
250 followers11 public repossince Jun 2017

This repository is backed by an organization — shared, accountable stewardship that can outlive any single maintainer.

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publish
Gogithub.com/swaggo/swagv1.16.6-54449 days ago

Metrics by category

Vitality

Is the project alive — is code being written and are releases shipping?

64Moderate · 21% of overall
How it's scored
28.8/36Push recency — last push 20 days ago
9.7/36Commit cadence — 14/52 weeks with commits
13/18Commit volume — 27 commits in the last year
5/10OpenSSF Scorecard: Maintained — 5 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 5
Inputs used
commits_last_year27
human_commit_share0.74
days_since_last_push20
active_weeks_last_year14
How it's scored
27/27Ships releases — 56 releases published
36/36Release recency — latest release 37 days ago
12.6/27Release cadence — a release every ~138.2 days
0/10OpenSSF Scorecard: Signed-Releases — Project has not signed or included provenance with any releases.
Inputs used
releases_count56
latest_release_tagv2.0.0-rc6
releases_from_tagsno
days_since_latest_release37
mean_days_between_releases138.2

Community & Adoption

Does the project have users, downloads, attention, and a welcoming setup for contributors?

94Exceptional · 17% of overall
How it's scored
60/60Stars — 13,041 stars
25/25Forks — 1,501 forks
11.1/15Watchers — 102 watchers
Inputs used
forks1,501
stars13,041
watchers102
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history

Community health

92Excellent
How it's scored
22.5/22.5README
22.5/22.5License — recognized license (MIT)
18/18CONTRIBUTING guide
13.5/13.5Code of conduct
0/7.2Issue template
6.3/6.3PR template
Inputs used
has_readmeyes
has_licenseyes
readme_badges18
has_contributingyes
has_issue_templateno
has_code_of_conductyes
readme_badge_servicesgithub.com, goreportcard.com, opencollective.com, shields.io
has_pull_request_templateyes

Sustainability & Governance

Will the project survive its people — bus factor, responsiveness, who backs it, and package upkeep?

74Good · 23% of overall
How it's scored
36/54Bus factor — 3 contributor(s) cover half of all commits
14.8/22.5Commit distribution — top contributor authored 34% of commits
13.5/13.5Contributor breadth — 99 contributors
10/10OpenSSF Scorecard: Contributors — project has 9 contributing companies or organizations
Inputs used
bus_factor3
contributors_sampled99
top_contributor_share0.343
How it's scored
27.6/42Issue resolution — 66% of issues closed
25.3/30PR acceptance — 755/896 decided PRs merged
8.7/13Newcomer PR acceptance — 2/3 first-time contributors' PRs merged in 30d
13.5/15OpenSSF Scorecard: Code-Review — Found 21/22 approved changesets -- score normalized to 9
Inputs used
merged_prs755
open_issues412
closed_issues794
prs_merged_7d0
prs_decided_7d0
prs_merged_30d4
prs_decided_30d5
issue_closed_ratio0.658
closed_unmerged_prs141
first_time_authors_30d2
first_time_prs_merged_30d2
first_time_prs_decided_30d3
How it's scored
30/30Ownership backing — organization-owned
0/20Verified domain
17.3/25Owner reach — 250 followers of swaggo
19.9/25Track record — 11 public repos, account ~9 yr old
Inputs used
followers250
owner_typeOrganization
is_verifiedno
owner_loginswaggo
public_repos11
account_age_days3,408
How it's scored
25/25Published & resolvable — 1 package(s) on go
14/35Publish recency — latest publish 449 days ago
20/20Version history — 54 published versions
20/20Not deprecated — active, not deprecated or yanked
Inputs used
packagesgithub.com/swaggo/swag
ecosystemsgo
any_deprecatedno
min_days_since_publish449

Engineering Quality

Are baseline engineering and documentation practices in place?

65Good · 19% of overall
How it's scored
24/24CI workflows — 2 workflow(s)
24/24Tests present
0/16Linter config
0/9.6Pre-commit hooks
0/6.4.editorconfig
20/20OpenSSF Scorecard: CI-Tests — 29 out of 29 merged PRs checked by a CI test -- score normalized to 10
Inputs used
has_ciyes
has_testsyes
has_editorconfigno
has_linter_configno
has_precommit_configno

Documentation

60Moderate
How it's scored
30/30README
0/25Documentation directory
0/15Documentation / homepage site
10/10Repository description
10/10Topics — 5 topics
10/10Wiki
Inputs used
topicsgolang, swagger, swagger2, annotations, openapi
has_wikiyes
homepage—
docs_site—
has_readmeyes
has_docs_dirno
has_descriptionyes

Security

Are visible security and supply-chain practices strong, without unresolved high-risk jurisdiction exposure?

54Moderate · 16% of overall
How it's scored
7.5/7.5Binary-Artifacts — no binaries found in the repo
0/7.5Branch-Protection — no data
2.5/2.5CI-Tests — 29 out of 29 merged PRs checked by a CI test -- score normalized to 10
0/2.5CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected
6.8/7.5Code-Review — Found 21/22 approved changesets -- score normalized to 9
2.5/2.5Contributors — project has 9 contributing companies or organizations
10/10Dangerous-Workflow — no dangerous workflow patterns detected
7.5/7.5Dependency-Update-Tool — update tool detected
0/5Fuzzing — project is not fuzzed
2.5/2.5License — license file detected
3.8/7.5Maintained — 5 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 5
5/5Packaging — packaging workflow detected
0/5Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
0/5SAST — SAST tool is not run on all commits -- score normalized to 0
0/5Security-Policy — security policy file not detected
0/7.5Signed-Releases — Project has not signed or included provenance with any releases.
0/7.5Token-Permissions — detected GitHub workflow tokens with excessive permissions
0/7.5Vulnerabilities — 35 existing vulnerabilities detected
Inputs used
sourceopenssf_scorecard
checks_evaluated17
scorecard_versionv5.5.0
checks_inconclusive1
scorecard_aggregate4.9
Excluded from scoring (no data or not applicable): Branch-Protection. Remaining weights renormalized.
How it's scored
23.1/35Direct dependencies free of known advisories — 3 affected: golang.org/x/text 0.23.0 (unknown), golang.org/x/text 0.31.0 (unknown), golang.org/x/text v0.37.0 (unknown)
0/25Indirect dependencies free of known advisories — transitive set not separable from development and test dependencies in this scope
32.7/40No advisories left outstanding — 3 advisory-carrying package(s) unaddressed past 90 days; oldest published 98 days ago
Inputs used
sourceosv
advisories89
affected_packages9
assessed_packages108
unassessed_packages0
affected_by_severitycritical 2, moderate 1, unknown 6
direct_affected_packages3
Excluded from scoring (no data or not applicable): Indirect dependencies free of known advisories. Remaining weights renormalized. Matched 108 resolved dependencies against OSV. This repository publishes no package the index resolves, so the repository dependency graph was assessed instead. That graph mixes development and test pins with shipped dependencies, so only the declared runtime dependencies are scored; transitive findings are reported as context and excluded from the score. Reachability is not analyzed.

AI Readiness

How well is the repo equipped to be developed and maintained with AI coding agents? Carries a deliberately small weight (4%): agent tooling is a real maintenance signal, but a repository with none can still reach 100/100.

70Good · 4% of overall
How it's scored
0/45Agent instructions — no CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
40/40Legible commit history — 70 of 74 human commits state their intent (structured subject or explanatory body)
Inputs used
has_llms_txtno
llms_txt_url—
legible_history_share0.946
agent_instruction_files—
agent_instruction_max_bytes—
How it's scored
18/18One-command bootstrap — Makefile
22/22Automated tests
0/11Lint / format config
11/11Static type checking — Go (statically typed)
10/10Reproducible environment — Dockerfile, lockfile
2/10Demonstrated agent practice — 1 of the last 100 commits agent-authored or agent-credited
8/8Automated maintenance — 25 of the last 100 commits are automated dependency updates
0/10OpenSSF Scorecard: Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
Inputs used
has_nixno
has_testsyes
lockfilesgo.sum
has_dockerfileyes
typed_languageyes
bootstrap_filesMakefile
has_devcontainerno
has_linter_configno
typecheck_configs—
agent_commit_share0.01
toolchain_manifestsexample/celler/go.mod, example/go-module-support/go.mod, example/markdown/go.mod, example/object-map-example/go.mod, go.mod
dependency_bot_commit_share0.25
How it's scored
45/45Type-checkable code — Go (statically typed)
54.5/55Manageable file sizes — 2/231 source files over 60KB
Inputs used
primary_languageGo
largest_source_bytes124,818
source_files_sampled231
oversized_source_files2
How it's scored
40/40API schema (OpenAPI/GraphQL/proto) — example/basic/docs/swagger/swagger.yaml, example/celler/docs/swagger/swagger.yaml, example/go-module-support/docs/swagger.json, example/go-module-support/docs/swagger.yaml, example/markdown/docs/swagger.json, example/markdown/docs/swagger.yaml, example/object-map-example/docs/swagger.json, example/object-map-example/docs/swagger.yaml, example/override/docs/swagger.json, example/override/docs/swagger.yaml
0/20MCP server — not applicable to this kind of software
40/40Runnable examples — example
Inputs used
example_dirsexample
has_mcp_signalno
api_schema_filesexample/basic/docs/swagger/swagger.yaml, example/celler/docs/swagger/swagger.yaml, example/go-module-support/docs/swagger.json, example/go-module-support/docs/swagger.yaml, example/markdown/docs/swagger.json, example/markdown/docs/swagger.yaml, example/object-map-example/docs/swagger.json, example/object-map-example/docs/swagger.yaml, example/override/docs/swagger.json, example/override/docs/swagger.yaml
interfaces_expected_of—
Excluded from scoring (no data or not applicable): MCP server. Remaining weights renormalized.

Key facts

13,041GitHub stars
99contributors
27commits, last 12 months
20days since last push
56releases
3bus factor
412open issues
Gopackage ecosystems

Data collection warnings

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token

More detail

Star and fork history 0 ★ / 1,501 ⇿
0Stars
1,501Forks
34Releases

When each star and fork was added, collected from GitHub and bucketed by day. Cumulative growth sits directly above the daily additions it is made of, so the two read against each other: steady organic accretion looks nothing like an abrupt, short-lived burst. Where that difference is measurable, it is reported as growth authenticity.

Only the most recent history is shown — this repository exceeds the collection window, so the earliest history is not captured.

4006008001,0001,2001,4001,6001,501522021-032024-012026-10
Major 0Minor 1Patch 23

Each point covers 6 days.

OpenSSF Scorecard 4.9 / 10
4.9aggregate

Independent, tool-agnostic security assessment from the open-source OpenSSF Scorecard. Each check rewards a security practice, not a specific vendor's tool. Checks Scorecard could not determine are marked n/a and excluded from the security score (never counted as zero).Scorecard v5.5.0 · 2026-10-21 00:56 UTC

10Binary-Artifactsno binaries found in the repo
n/aBranch-Protectioninternal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
10CI-Tests29 out of 29 merged PRs checked by a CI test -- score normalized to 10
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
9Code-ReviewFound 21/22 approved changesets -- score normalized to 9
10Contributorsproject has 9 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
5Maintained5 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 5
10Packagingpackaging workflow detected
0Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
0SASTSAST tool is not run on all commits -- score normalized to 0
0Security-Policysecurity policy file not detected
0Signed-ReleasesProject has not signed or included provenance with any releases.
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
0Vulnerabilities35 existing vulnerabilities detected
Direct dependencies 8
RegistryPackageVersion constraintManifest
Gogithub.com/KyleBanks/depthv1.2.1go.mod
Gogithub.com/go-openapi/specv0.22.1go.mod
Gogithub.com/stretchr/testifyv1.11.1go.mod
Gogithub.com/urfave/cli/v2v2.3.0go.mod
Gogolang.org/x/syncv0.12.0go.mod
Gogolang.org/x/textv0.23.0go.mod
Gogolang.org/x/toolsv0.26.0go.mod
Gosigs.k8s.io/yamlv1.3.0go.mod
All dependencies 108

Full resolved dependency set from the GitHub dependency graph: 17 direct and 91 indirect (transitive) packages. The transitive closure is complete when the repository commits a lockfile.

RegistryPackageVersionRelation
Gogithub.com/go-openapi/spec0.20.4direct
Gogithub.com/go-openapi/spec0.22.1direct
Gogithub.com/go-openapi/specv0.20.4direct
Gogithub.com/go-openapi/specv0.20.5direct
Gogithub.com/kylebanks/depth1.2.1direct
Gogithub.com/kylebanks/depthv1.2.1direct
Gogithub.com/stretchr/testify1.11.1direct
Gogithub.com/urfave/cli/v22.3.0direct
Gogolang.org/x/sync0.12.0direct
Gogolang.org/x/text0.23.0direct
Gogolang.org/x/text0.31.0direct
Gogolang.org/x/textv0.37.0direct
Gogolang.org/x/tools0.26.0direct
Gogolang.org/x/tools0.38.0direct
Gogolang.org/x/toolsv0.1.10direct
Gogolang.org/x/toolsv0.44.0direct
Gosigs.k8s.io/yaml1.3.0direct
Gogithub.com/bytedance/sonic1.9.1indirect
Gogithub.com/bytedance/sonicv1.9.1indirect
Gogithub.com/chenzhuoyu/base64x0.0.0-20221115062448-fe3a3abad311indirect
Gogithub.com/chenzhuoyu/base64xv0.0.0-20221115062448-fe3a3abad311indirect
Gogithub.com/cpuguy83/go-md2man/v22.0.0-20190314233015-f79a8a8ca69dindirect
Gogithub.com/davecgh/go-spew1.1.1indirect
Gogithub.com/gabriel-vasile/mimetype1.4.2indirect
Gogithub.com/gabriel-vasile/mimetypev1.4.2indirect
Gogithub.com/gin-contrib/sse0.1.0indirect
Gogithub.com/gin-contrib/ssev0.1.0indirect
Gogithub.com/gin-gonic/gin1.9.1indirect
Gogithub.com/gin-gonic/ginv1.9.1indirect
Gogithub.com/go-openapi/jsonpointer0.19.5indirect
Gogithub.com/go-openapi/jsonpointer0.22.1indirect
Gogithub.com/go-openapi/jsonpointerv0.19.5indirect
Gogithub.com/go-openapi/jsonreference0.19.6indirect
Gogithub.com/go-openapi/jsonreference0.21.3indirect
Gogithub.com/go-openapi/jsonreferencev0.19.6indirect
Gogithub.com/go-openapi/jsonreferencev0.20.0indirect
Gogithub.com/go-openapi/swag0.19.15indirect
Gogithub.com/go-openapi/swagv0.19.15indirect
Gogithub.com/go-openapi/swag/conv0.25.1indirect
Gogithub.com/go-openapi/swag/jsonname0.25.1indirect
Gogithub.com/go-openapi/swag/jsonutils0.25.1indirect
Gogithub.com/go-openapi/swag/loading0.25.1indirect
Gogithub.com/go-openapi/swag/stringutils0.25.1indirect
Gogithub.com/go-openapi/swag/typeutils0.25.1indirect
Gogithub.com/go-openapi/swag/yamlutils0.25.1indirect
Gogithub.com/go-playground/locales0.14.1indirect
Gogithub.com/go-playground/localesv0.14.1indirect
Gogithub.com/go-playground/universal-translator0.18.1indirect
Gogithub.com/go-playground/universal-translatorv0.18.1indirect
Gogithub.com/go-playground/validator/v1010.14.0indirect
Gogithub.com/go-playground/validator/v10v10.14.0indirect
Gogithub.com/goccy/go-json0.10.2indirect
Gogithub.com/goccy/go-jsonv0.10.2indirect
Gogithub.com/gofrs/uuid4.2.0+incompatibleindirect
Gogithub.com/gorilla/muxv1.8.0indirect
Gogithub.com/josharian/intern1.0.0indirect
Gogithub.com/josharian/internv1.0.0indirect
Gogithub.com/json-iterator/go1.1.12indirect
Gogithub.com/json-iterator/gov1.1.12indirect
Gogithub.com/klauspost/cpuid/v22.2.4indirect
Gogithub.com/klauspost/cpuid/v2v2.2.4indirect
Gogithub.com/leodido/go-urn1.2.4indirect
Gogithub.com/leodido/go-urnv1.2.4indirect
Gogithub.com/mailru/easyjson0.7.6indirect
Gogithub.com/mailru/easyjsonv0.7.6indirect
Gogithub.com/mattn/go-isatty0.0.19indirect
Gogithub.com/mattn/go-isattyv0.0.19indirect
Gogithub.com/modern-go/concurrent0.0.0-20180306012644-bacd9c7ef1ddindirect
Gogithub.com/modern-go/concurrentv0.0.0-20180306012644-bacd9c7ef1ddindirect
Gogithub.com/modern-go/reflect21.0.2indirect
Gogithub.com/modern-go/reflect2v1.0.2indirect
Gogithub.com/pelletier/go-toml/v22.0.8indirect
Gogithub.com/pelletier/go-toml/v2v2.0.8indirect
Gogithub.com/pmezard/go-difflib1.0.0indirect
Gogithub.com/puerkitobio/purell1.1.1indirect
Gogithub.com/puerkitobio/purellv1.1.1indirect
Gogithub.com/puerkitobio/urlesc0.0.0-20170810143723-de5bf2ad4578indirect
Gogithub.com/puerkitobio/urlescv0.0.0-20170810143723-de5bf2ad4578indirect
Gogithub.com/russross/blackfriday/v22.0.1indirect
Gogithub.com/shurcool/sanitized_anchor_name1.0.0indirect
Gogithub.com/swaggo/examplesv0.0.0-20190624100559-f57286ab550cindirect
Gogithub.com/swaggo/files0.0.0-20210815190702-a29dd2bc99b2indirect
Gogithub.com/swaggo/filesv0.0.0-20210815190702-a29dd2bc99b2indirect
Gogithub.com/swaggo/gin-swagger1.4.2indirect
Gogithub.com/swaggo/gin-swaggerv1.4.2indirect
Gogithub.com/swaggo/http-swaggerv1.2.6indirect
Gogithub.com/swaggo/swag1.8.1indirect
Gogithub.com/swaggo/swagv1.8.1indirect
Gogithub.com/twitchyliquid64/golang-asm0.15.1indirect
Gogithub.com/twitchyliquid64/golang-asmv0.15.1indirect
Gogithub.com/ugorji/go/codec1.2.11indirect
Gogithub.com/ugorji/go/codecv1.2.11indirect
Gogo.yaml.in/yaml/v33.0.4indirect
Gogolang.org/x/arch0.3.0indirect
Gogolang.org/x/archv0.3.0indirect
Gogolang.org/x/crypto0.45.0indirect
Gogolang.org/x/cryptov0.51.0indirect
Gogolang.org/x/mod0.21.0indirect
Gogolang.org/x/net0.47.0indirect
Gogolang.org/x/netv0.55.0indirect
Gogolang.org/x/sys0.38.0indirect
Gogolang.org/x/sysv0.45.0indirect
Gogoogle.golang.org/protobuf1.33.0indirect
Gogoogle.golang.org/protobufv1.33.0indirect
Gogopkg.in/yaml.v22.4.0indirect
Gogopkg.in/yaml.v2v2.4.0indirect
Gogopkg.in/yaml.v33.0.1indirect
Gogopkg.in/yaml.v3v3.0.1indirect
Dependency advisories 9

This repository publishes no package the index resolves, so its own dependency graph was assessed — 108 packages, which also include development and test pins that never ship: 9 carry known advisories, of which 3 are direct.

PackageVersionRelationSeverityAdvisoriesFixed in
golang.org/x/crypto0.45.0indirectcritical300.56.0
golang.org/x/cryptov0.51.0indirectcritical300.56.0
golang.org/x/net0.47.0indirectmoderate141.27.2
golang.org/x/text0.23.0directunknown20.41.0
golang.org/x/text0.31.0directunknown20.41.0
golang.org/x/textv0.37.0directunknown20.41.0
golang.org/x/mod0.21.0indirectunknown21.27.0-rc.3
golang.org/x/netv0.55.0indirectunknown61.27.2
golang.org/x/sys0.38.0indirectunknown10.44.0

An advisory means the version recorded in the dependency graph falls inside an advisory’s affected range. Reachability is not analysed, and the graph includes development and test pins — a finding may concern tooling rather than shipped software.

Raw JSON report machine-readable

Feedback

Spotted something off in this report, or have thoughts to share? Wrong measurements, missed tooling, ideas, questions — anything is welcome. Every message is read and gets a response.

The message is kept through sign-in.

Scores are signals, not warranties. They reflect publicly visible practices on GitHub — not a code audit, and not a security guarantee.

Missing data is excluded and weights renormalized, never scored as zero. Methodology is versioned and open: metrics v2.10.0, schema v0.34.0 — full methodology · metrics wiki.

How one result sits in the wider record: aggregate statistics — Go.