|
|
hai 1 ano | |
|---|---|---|
| .. | ||
| Readme.md | %!s(int64=3) %!d(string=hai) anos | |
| client.gen.go | hai 1 ano | |
| oss.yml | hai 1 ano | |
| types.gen.go | %!s(int64=3) %!d(string=hai) anos | |
oss.ymlmust be periodically synced with latest changes and types and client must be re-generated
to maintain full compatibility with the latest InfluxDB release
git clone git@github.com:bonitoo-io/oapi-codegen.git
cd oapi-codegen
git checkout feat/template_helpers
go install ./cmd/oapi-codegen/oapi-codegen.go
wget https://raw.githubusercontent.com/influxdata/openapi/master/contracts/oss.yml
cd domain
oapi-codegen -generate types -o types.gen.go -package domain -templates .\templates oss.yml
oapi-codegen -generate client -o client.gen.go -package domain -templates .\templates oss.yml