sliveryou/goctl-swagger
自定义 goctl-swagger
This tool helps Go developers generate accurate OpenAPI (Swagger) documentation for their API services built with go-zero. It takes your API definition files and Go struct code, then produces a JSON file that describes your API's endpoints, parameters, and responses. Backend developers working with Go and go-zero will find this useful for documenting their services.
No commits in the last 6 months.
Use this if you are a Go backend developer using the go-zero framework and need to generate precise OpenAPI documentation for your API, especially when dealing with complex nested structs, diverse request body types (JSON, form, multipart), or custom response wrapping.
Not ideal if you are not developing Go APIs with the go-zero framework, or if you need a visual editor for your OpenAPI specification rather than a code-driven generation tool.
Stars
12
Forks
6
Language
Go
License
MIT
Category
Last pushed
Sep 03, 2024
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/sliveryou/goctl-swagger"
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.
zeromicro/go-zero
A cloud-native Go microservices framework with cli tool for productivity.
omissis/go-jsonschema
A tool to generate Go data types from JSON Schema definitions.
openconfig/ygot
A YANG-centric Go toolkit - Go/Protobuf Code Generation; Validation; Marshaling/Unmarshaling
mailru/easyjson
Fast JSON serializer for golang.