Go OpenAPI client generated from the Spice.ai OpenAPI spec.
Generate the client using the version specified in doc.go:
make clientOr override the version with an environment variable:
VERSION=trunk make client
VERSION=v1.11.0-rc.3 make clientThe script will:
- Download
openapi.jsonfrom GitHub (tries tags first, then branches) - Generate Go client code using
openapi-generator-cli - Clean up temporary files
- Docker (for running
openapi-generator-cli) - curl