Warning
This API client is no longer supported and will not be maintained. Refer to https://github.com/oxidecomputer/oxide-sdk-and-cli for the current CLI and Rust client
The Rust API client for Oxide.
You can trigger a build with the GitHub action to generate the client. This will automatically update the client to the latest version based on the spec at spec.json.
Alternatively, if you wish to generate the client locally, run:
$ make generateImportant: Currently the spec is being modified to use the old operation IDs as a lot of work needs to be done with the current generator.
Please do not change the code directly since it is generated. PRs that change the code directly will be automatically closed by a bot.
- Make sure the
VERSION.txthas the new version you want to release. - Make sure you have run
make generateand pushed any changes. The release will fail if runningmake generatecauses any changes to the generated code. - Run
make tagthis is just an easy command for making a tag formatted correctly with the version. - Push the tag (the result of
make taggives instructions for this) - Everything else is triggered from the tag push. Just make sure all the tests
pass on the
mainbranch before making and pushing a new tag.