# swaggo/swag

> Automatically generate RESTful API documentation with Swagger 2\.0 for Go\.

Canonical: https://starboard.codevetter.com/explore/swaggo/swag

[Back to Discover](https://starboard.codevetter.com/discover)

![swaggo](https://avatars.githubusercontent.com/u/29616670?v=4&s=40)

swaggo

# swag

[View on GitHub
](https://github.com/swaggo/swag)

Automatically generate RESTful API documentation with Swagger 2\.0 for Go\.

annotations
golang
openapi
swagger
swagger2


13k stars

Go

Updated 3d ago

Created Jun 10, 2017

## Star history

\+229 stars
1\.8% growth


## Detected tools

[Docker](https://starboard.codevetter.com/tools/docker)
[GitHub Actions](https://starboard.codevetter.com/tools/github-actions)


Tool detection is evidence\-based, not a full runtime audit\. Package manifests, lockfiles, and SBOMs are high\-confidence; README, topics, and AI metadata are lower\-confidence signals\. Repository language is metadata, not counted as a tool\. Accuracy varies by ecosystem, especially for C/C\+\+ and custom monorepos\.

- Docker  · 90% confidence · Sources: \.github/actions/danger/Dockerfile, Dockerfile · Detected Jul 24, 2026

- GitHub Actions  · 88% confidence · Sources: \.github/workflows/ci\.yml, \.github/workflows/docker\.yml · Detected Jul 24, 2026

## Similar projects

[![oapi\-codegen](https://avatars.githubusercontent.com/u/142752710?v=4&s=24)

oapi\-codegen/ oapi\-codegen

Generate Go client and server boilerplate from OpenAPI 3 specifications

Go 8\.7k 70%](https://starboard.codevetter.com/explore/oapi-codegen/oapi-codegen)[![go\-swagger](https://avatars.githubusercontent.com/u/10362650?v=4&s=24)

go\-swagger/ go\-swagger

Swagger 2\.0 implementation for go

Go 10k 76%](https://starboard.codevetter.com/explore/go-swagger/go-swagger)[![goadesign](https://avatars.githubusercontent.com/u/16568515?v=4&s=24)

goadesign/ goa

Design\-first Go framework that generates API code, documentation, and clients\. Define once in an elegant DSL, deploy as HTTP and gRPC services with zero drift between code and docs\.

Go 6\.1k 64%](https://starboard.codevetter.com/explore/goadesign/goa)[![Redocly](https://avatars.githubusercontent.com/u/32099856?v=4&s=24)

Redocly/ redoc

📘  OpenAPI/Swagger\-generated API Reference Documentation

TypeScript 26k 69%](https://starboard.codevetter.com/explore/Redocly/redoc)[![swagger\-api](https://avatars.githubusercontent.com/u/7658037?v=4&s=24)

swagger\-api/ swagger\-ui

Swagger UI is a collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger\-compliant API\.

JavaScript 29k 68%](https://starboard.codevetter.com/explore/swagger-api/swagger-ui)[![springfox](https://avatars.githubusercontent.com/u/11529357?v=4&s=24)

springfox/ springfox

Automated JSON API documentation for API's built with Spring

Java 5\.9k 67%](https://starboard.codevetter.com/explore/springfox/springfox)[![RicoSuter](https://avatars.githubusercontent.com/u/2603405?v=4&s=24)

RicoSuter/ NSwag

The Swagger/OpenAPI toolchain for \.NET, ASP\.NET Core and TypeScript\.

C\# 7\.4k 69%](https://starboard.codevetter.com/explore/RicoSuter/NSwag)[![OpenAPITools](https://avatars.githubusercontent.com/u/37325267?v=4&s=24)

OpenAPITools/ openapi\-generator

OpenAPI Generator allows generation of API client libraries \(SDK generation\), server stubs, documentation and configuration automatically given an OpenAPI Spec \(v2, v3\)

Java 27k 69%](https://starboard.codevetter.com/explore/OpenAPITools/openapi-generator)
