Go API client generated from Aptible's OpenAPI specs using the OpenAPI Generator. See the examples/
directory for examples on how to get started using the client and the generated aptibleapi/README.md
for details on the available endpoints.
Import the module:
go get github.com/aptible/aptible-api-go
Import the aptibleapi
package in .go
files:
import "github.com/aptible/aptible-api-go/aptibleapi"
Use the various make
targets to re-generate the client from the latest OpenAPI specs. See the Makefile
for options.
Most of the client's contents are generated. If a generated file needs modified (see aptibleapi/.openapi-generator/FILES
for a list of generated files) it should be done by modifying the generator's templates. See aptibleapi/templates
for details and examples.
To release the client, create a tagged release in GitHub following semantic versioning convention.