Tagging a release on this repository will:
- Update the Go SDK
- More SDKs to come...
This repository contains
- Hookdeck's Fern API Definition which lives in the OpenApi folder
- Generators (see generators.yml)
In order to make sure that the definition is valid, you can use the Fern CLI.
npm install -g fern-api # Installs CLI
fern check # Checks if the definition is valid
Generators read in your API Definition and output files or code (i.e. the TypeScript SDK Generator) and are tracked in generators.yml.
You can preview the generated code in the ./local/go/generated/hookdeck-go-sdk
directory by running the following command:
fern generate --group local
To trigger the generators run:
fern release <version>
The publish command currently runs in a GitHub workflow (see ci.yml). To trigger the generators using Github Actions:
This version string is used when publishing SDKs to registries (e.g. npm, maven).
See the Actions that will run fern generate
.