Categories

Generators

Tools that generate Go code.

Repos

102

Stars

93,224

30 days

+295

ehabterra

Generate OpenAPI 3.1 (Swagger) specs from Go source code — no annotations. Static analysis and call-graph tracing infer routes, params, request/response schemas for Gin, Echo, Chi, Fiber, Gorilla Mux and net/http. Deterministic YAML/JSON output for CI, plus a web UI and call-graph diagram.

Created Jun 2025

api-documentation apispec call-graph chi code-first
Total 99
30 days +4

More

oapi-codegen

Generate Go client and server boilerplate from OpenAPI 3 specifications

Created Feb 2019

go golang openapi openapi-codegen openapi-generator
Total 8,676
30 days +48
ogen-go

OpenAPI v3 code generator for go

Created May 2021

api code-generator codegen go golang
Total 2,176
30 days +28
contiamo

An opinionated OpenAPI v3 code generator for Go. Use this to generate API models and router scaffolding.

Created Nov 2020

code-generator golang openapi openapi-generator openapi-spec
Total 113
30 days +0
otk-final

openapi(swagger)代码生成器

Created Apr 2025

openapi openapi-generator swagger swagger-codegen
Total 80
30 days +0

From awesome-go (MIT), plus repos sorted by Jev.