Package · Go Modules

github.com/swaggo/swag

Go Modules · v1.16.6 · MIT

Package swag converts Go annotations to Swagger Documentation 2.0.

Install

go get github.com/swaggo/swag

Adoption

Imported by (most-imported package, pkg.go.dev)
11.8K
Observedimporting packages
Popularity
Top 10% on Go
Derived96th percentile within Go Modules
Imported by (most-imported package)
11.8K
Observedpackages importing it, per pkg.go.dev
Maintenance
0.31
DerivedRelease cadence and recency, 0 to 1
Releases per year
7.0
54 versions over its life

Growth by period

Derived by Crest of Tech from two observations of Go Modules’s own figure, a period apart. Nothing is stored or estimated: without an observation near the period’s start, the period is still collecting.

7 days
Collectinghistory
Collecting
30 days
Collectinghistory
Collecting
90 days
Collectinghistory
Collecting
1 year
Collectinghistory
Collecting

Adoption history

Adoption historyimporting packages

Observations in this range began OCT 6, 2026. The chart appears after 7 observations; 2 so far. Collecting history.

Table of observations (2)
Dayimporting packagesDependents
OCT 24, 202611,81611,816
OCT 6, 202611,81611,816

Facts from the registry

Latest version
v1.16.6
54 versions
First published
NOV 30, 2017
Last release
JUL 28, 2025
15mo ago
Licence
MIT

Repository

In the Crest catalog

swaggo/swag

Automatically generate RESTful API documentation with Swagger 2.0 for Go.

Stars
13K
Forks
1.5K
Language
Go
Last push
24d ago
Last release
41d ago

Linked by the package’s own registry metadata.GitHub (opens in a new tab)

Dependencies latest version · v1.16.6

Runtime 7

  • github.com/KyleBanks/depthv1.2.1
  • github.com/go-openapi/specv0.20.4
  • github.com/stretchr/testifyv1.7.0
  • github.com/urfave/cli/v2v2.3.0
  • golang.org/x/textv0.21.0
  • golang.org/x/toolsv0.21.1-0.20240508182429-e35e4ccd0d2d
  • sigs.k8s.io/yamlv1.3.0

Related news

No published news event mentions this package or its repository yet.