# README
openapi2go
CLI tool to generate Go code from OpenAPI specifications.
-
For servers:
- Structs with JSON tags
- Functions using Gin for HTTP interactions
-
For clients:
- Structs with JSON tags
Install
go install github.com/FS-Frost/openapi2go@latest
Usage
openapi2go spec1.yml [specN.yml] outDir