An opinionated cli utility written in Go for generating type-safe api clients from openapi specifications.
git clone https://github.com/geokaralis/apigen.git
cd apigen
go build -o apigen cmd/app/main.goapigen create client schema.json -o ./__generated__Options:
<schema>path to openapi schema file--output, -odirectory where the generated files will be stored