Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-09-23 10:45 UTC

swaggo / gin-swagger

gin middleware to automatically generate RESTful API documentation with Swagger 2.0.

GoMIT★ 4,237 stars⑂ 297 forkssince Jun 2017View on GitHub ↗
KindNetwork serviceLibraryhow this is determined

swaggo/gin-swagger holds a health index of 50 out of 100, placing it in the Moderate band. It scores highest on Community & Adoption (74/100) and lowest on Vitality (38/100). It was last updated 74 days ago. 2 contributors account for most of its recent work.

50
overall / 100
Moderate

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.

50
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 56 is calibrated to 59 on the published index scale (record calibration 2026-08-02).

Ownership

SwaggoOrganization
249 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/gin-swaggerv1.6.1-17385 days ago

Metrics by category

Vitality

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

38Weak · 21% of overall
How it's scored
18/36Push recencylast push 74 days ago
2.8/36Commit cadence4/52 weeks with commits
8.6/18Commit volume8 commits in the last year
0/10OpenSSF Scorecard: Maintained0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Inputs used
commits_last_year8
human_commit_share0.95
days_since_last_push74
active_weeks_last_year4
How it's scored
27/27Ships releases12 releases published
7.2/36Release recencylatest release 385 days ago
12.6/27Release cadencea release every ~147 days
0/10OpenSSF Scorecard: Signed-Releasesno data
Inputs used
releases_count12
latest_release_tagv1.6.1
releases_from_tagsno
days_since_latest_release385
mean_days_between_releases147
Excluded from scoring (no data or not applicable): OpenSSF Scorecard: Signed-Releases. Remaining weights renormalized.

Community & Adoption

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

74Good · 17% of overall
How it's scored
58.8/60Stars4,237 stars
20.6/25Forks297 forks
8.7/15Watchers38 watchers
Inputs used
forks297
stars4,237
watchers38
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history
How it's scored
22.5/22.5README
22.5/22.5Licenserecognized license (MIT)
0/18CONTRIBUTING guide
0/13.5Code of conduct
0/7.2Issue template
6.3/6.3PR template
Inputs used
has_readmeyes
has_licenseyes
readme_badges4
has_contributingno
has_issue_templateno
has_code_of_conductno
readme_badge_servicesgithub.com, goreportcard.com, shields.io
has_pull_request_templateyes

Sustainability & Governance

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

66Good · 23% of overall
How it's scored
25.2/54Bus factor2 contributor(s) cover half of all commits
15.5/22.5Commit distributiontop contributor authored 31% of commits
13.5/13.5Contributor breadth39 contributors
6/10OpenSSF Scorecard: Contributorsproject has 2 contributing companies or organizations -- score normalized to 6
Inputs used
bus_factor2
contributors_sampled39
top_contributor_share0.311
How it's scored
21.6/42Issue resolution51% of issues closed
23/30PR acceptance86/112 decided PRs merged
0/13Newcomer PR acceptanceno first-time contributor's PR decided in 30d
9/15OpenSSF Scorecard: Code-ReviewFound 14/21 approved changesets -- score normalized to 6
Inputs used
merged_prs86
open_issues102
closed_issues108
prs_merged_7d0
prs_decided_7d0
prs_merged_30d0
prs_decided_30d0
issue_closed_ratio0.514
closed_unmerged_prs26
first_time_authors_30d0
first_time_prs_merged_30d0
first_time_prs_decided_30d0
Excluded from scoring (no data or not applicable): Newcomer PR acceptance. Remaining weights renormalized.
How it's scored
30/30Ownership backingorganization-owned
0/20Verified domain
17.2/25Owner reach249 followers of swaggo
19.9/25Track record11 public repos, account ~9 yr old
Inputs used
followers249
owner_typeOrganization
is_verifiedno
owner_loginswaggo
public_repos11
account_age_days3,380
How it's scored
25/25Published & resolvable1 package(s) on go
14/35Publish recencylatest publish 385 days ago
20/20Version history17 published versions
20/20Not deprecatedactive, not deprecated or yanked
Inputs used
packagesgithub.com/swaggo/gin-swagger
ecosystemsgo
any_deprecatedno
min_days_since_publish385

Engineering Quality

Are baseline engineering and documentation practices in place?

55Moderate · 19% of overall
How it's scored
24/24CI workflows1 workflow(s)
24/24Tests present
0/16Linter config
0/9.6Pre-commit hooks
0/6.4.editorconfig
4/20OpenSSF Scorecard: CI-Tests6 out of 25 merged PRs checked by a CI test -- score normalized to 2
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/10Topics6 topics
10/10Wiki
Inputs used
topicsgolang, gin, middleware, swagger, gin-swagger, gin-middleware
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?

46Weak · 16% of overall
How it's scored
7.5/7.5Binary-Artifactsno binaries found in the repo
0/7.5Branch-Protectionno data
0.5/2.5CI-Tests6 out of 25 merged PRs checked by a CI test -- score normalized to 2
0/2.5CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
4.5/7.5Code-ReviewFound 14/21 approved changesets -- score normalized to 6
1.5/2.5Contributorsproject has 2 contributing companies or organizations -- score normalized to 6
10/10Dangerous-Workflowno dangerous workflow patterns detected
7.5/7.5Dependency-Update-Toolupdate tool detected
0/5Fuzzingproject is not fuzzed
2.5/2.5Licenselicense file detected
0/7.5Maintained0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
0/5Packagingno data
0/5Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
0/5SASTSAST tool is not run on all commits -- score normalized to 0
0/5Security-Policysecurity policy file not detected
0/7.5Signed-Releasesno data
0/7.5Token-Permissionsdetected GitHub workflow tokens with excessive permissions
0/7.5Vulnerabilities27 existing vulnerabilities detected
Inputs used
sourceopenssf_scorecard
checks_evaluated15
scorecard_versionv5.5.0
checks_inconclusive3
scorecard_aggregate4
Excluded from scoring (no data or not applicable): Branch-Protection, Packaging, Signed-Releases. Remaining weights renormalized.
How it's scored
16.8/35Direct dependencies free of known advisories1 affected: golang.org/x/net v0.47.0 (moderate 6.5)
0/25Indirect dependencies free of known advisoriestransitive set not separable from development and test dependencies in this scope
34.4/40No advisories left outstanding1 advisory-carrying package(s) unaddressed past 90 days; oldest published 138 days ago
Inputs used
sourceosv
advisories41
affected_packages4
assessed_packages42
unassessed_packages0
affected_by_severitycritical 1, moderate 1, unknown 2
direct_affected_packages1
Excluded from scoring (no data or not applicable): Indirect dependencies free of known advisories. Remaining weights renormalized. Matched 42 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.

65Good · 4% of overall
How it's scored
0/45Agent instructionsno CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
40/40Legible commit history88 of 95 human commits state their intent (structured subject or explanatory body)
Inputs used
has_llms_txtno
llms_txt_url
legible_history_share0.926
agent_instruction_files
agent_instruction_max_bytes
How it's scored
12.6/18One-command bootstrapgo.mod (toolchain convention, no task runner)
22/22Automated tests
0/11Lint / format config
11/11Static type checkingGo (statically typed)
10/10Reproducible environmentlockfile
0/10Demonstrated agent practiceno agent-authored commits among the last 100
8/8Automated maintenance5 of the last 100 commits are automated dependency updates
0/10OpenSSF Scorecard: Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
Inputs used
has_nixno
has_testsyes
lockfilesgo.sum
has_dockerfileno
typed_languageyes
bootstrap_files
has_devcontainerno
has_linter_configno
typecheck_configs
agent_commit_share0
toolchain_manifestsgo.mod
dependency_bot_commit_share0.05
How it's scored
45/45Type-checkable codeGo (statically typed)
55/55Manageable file sizes0/15 source files over 60KB
Inputs used
primary_languageGo
largest_source_bytes11,724
source_files_sampled15
oversized_source_files0
How it's scored
40/40API schema (OpenAPI/GraphQL/proto)example/basic/docs/swagger.json, example/basic/docs/swagger.yaml, example/gzipped/docs/swagger.json, example/gzipped/docs/swagger.yaml
0/20MCP server
40/40Runnable examplesexample
Inputs used
example_dirsexample
has_mcp_signalno
api_schema_filesexample/basic/docs/swagger.json, example/basic/docs/swagger.yaml, example/gzipped/docs/swagger.json, example/gzipped/docs/swagger.yaml
interfaces_expected_ofnetwork-service

Key facts

4,237GitHub stars
39contributors
8commits, last 12 months
74days since last push
12releases
2bus factor
102open 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 ★ / 297 ⇿
0Stars
297Forks
12Releases

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.

05010015020025030029152017-112022-032026-07
Major 0Minor 3Patch 9

Each point covers 8 days.

OpenSSF Scorecard 4.0 / 10
4.0aggregate

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-09-23 10:44 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
2CI-Tests6 out of 25 merged PRs checked by a CI test -- score normalized to 2
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
6Code-ReviewFound 14/21 approved changesets -- score normalized to 6
6Contributorsproject has 2 contributing companies or organizations -- score normalized to 6
10Dangerous-Workflowno dangerous workflow patterns detected
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
0Maintained0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
n/aPackagingpackaging workflow not 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
n/aSigned-Releasesno releases found
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
0Vulnerabilities27 existing vulnerabilities detected
Direct dependencies 6
RegistryPackageVersion constraintManifest
Gogithub.com/gin-contrib/gzipv0.0.6go.mod
Gogithub.com/gin-gonic/ginv1.9.1go.mod
Gogithub.com/stretchr/testifyv1.8.3go.mod
Gogithub.com/swaggo/filesv1.0.1go.mod
Gogithub.com/swaggo/swagv1.8.12go.mod
Gogolang.org/x/netv0.47.0go.mod
All dependencies 42

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

RegistryPackageVersionRelation
Gogithub.com/gin-contrib/gzipv0.0.6direct
Gogithub.com/gin-gonic/ginv1.9.1direct
Gogithub.com/stretchr/testifyv1.8.3direct
Gogithub.com/swaggo/filesv1.0.1direct
Gogithub.com/swaggo/swagv1.8.12direct
Gogolang.org/x/netv0.47.0direct
Gogithub.com/bytedance/sonicv1.9.1indirect
Gogithub.com/chenzhuoyu/base64xv0.0.0-20221115062448-fe3a3abad311indirect
Gogithub.com/davecgh/go-spewv1.1.1indirect
Gogithub.com/gabriel-vasile/mimetypev1.4.2indirect
Gogithub.com/gin-contrib/ssev0.1.0indirect
Gogithub.com/go-openapi/jsonpointerv0.19.5indirect
Gogithub.com/go-openapi/jsonreferencev0.19.6indirect
Gogithub.com/go-openapi/specv0.20.4indirect
Gogithub.com/go-openapi/swagv0.19.15indirect
Gogithub.com/go-playground/localesv0.14.1indirect
Gogithub.com/go-playground/universal-translatorv0.18.1indirect
Gogithub.com/go-playground/validator/v10v10.14.0indirect
Gogithub.com/goccy/go-jsonv0.10.2indirect
Gogithub.com/josharian/internv1.0.0indirect
Gogithub.com/json-iterator/gov1.1.12indirect
Gogithub.com/klauspost/cpuid/v2v2.2.4indirect
Gogithub.com/kylebanks/depthv1.2.1indirect
Gogithub.com/leodido/go-urnv1.2.4indirect
Gogithub.com/mailru/easyjsonv0.7.6indirect
Gogithub.com/mattn/go-isattyv0.0.19indirect
Gogithub.com/modern-go/concurrentv0.0.0-20180306012644-bacd9c7ef1ddindirect
Gogithub.com/modern-go/reflect2v1.0.2indirect
Gogithub.com/pelletier/go-toml/v2v2.0.8indirect
Gogithub.com/pmezard/go-difflibv1.0.0indirect
Gogithub.com/puerkitobio/purellv1.1.1indirect
Gogithub.com/puerkitobio/urlescv0.0.0-20170810143723-de5bf2ad4578indirect
Gogithub.com/twitchyliquid64/golang-asmv0.15.1indirect
Gogithub.com/ugorji/go/codecv1.2.11indirect
Gogolang.org/x/archv0.3.0indirect
Gogolang.org/x/cryptov0.45.0indirect
Gogolang.org/x/sysv0.38.0indirect
Gogolang.org/x/textv0.31.0indirect
Gogolang.org/x/toolsv0.38.0indirect
Gogoogle.golang.org/protobufv1.33.0indirect
Gogopkg.in/yaml.v2v2.4.0indirect
Gogopkg.in/yaml.v3v3.0.1indirect
Dependency advisories 4

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

PackageVersionRelationSeverityAdvisoriesFixed in
golang.org/x/cryptov0.45.0indirectcritical300.56.0
golang.org/x/netv0.47.0directmoderate91.27.0-rc.3
golang.org/x/sysv0.38.0indirectunknown10.44.0
golang.org/x/textv0.31.0indirectunknown10.39.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 statisticsGo.