swaggest/openapi-go
OpenAPI structures for Go
Provides bidirectional reflection between Go structs and OpenAPI 3.0/3.1 schemas using struct field tags (`path`, `query`, `header`, `json`, etc.) to declaratively map request/response structures and constraints. The `Reflector` API programmatically constructs OpenAPI documents by registering Go types as operation inputs/outputs, automatically generating schema definitions with JSON Schema validation rules derived from struct metadata.
344 stars. No commits in the last 6 months.
Stars
344
Forks
32
Language
Go
License
MIT
Category
Last pushed
Oct 05, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/swaggest/openapi-go"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
googleapis/gapic-generator-python
Generate Python API client libraries from Protocol Buffers.
omissis/go-jsonschema
A tool to generate Go data types from JSON Schema definitions.
zeromicro/go-zero
A cloud-native Go microservices framework with cli tool for productivity.
openconfig/ygot
A YANG-centric Go toolkit - Go/Protobuf Code Generation; Validation; Marshaling/Unmarshaling
mailru/easyjson
Fast JSON serializer for golang.