OpenAPI and JSON-schema for the ZeroTierOne service API.
This is the API that lets you leave and join networks on your local machine, or configure a self-hosted network controller.
The specs are generated from a typespec spec.
npm install
npm start
The integration test requires docker to be running.
npm test
Features not implemented by typespec yet
How to create a github release.
Releases contain the openapi and json-schema files.
Try to use conventional commit messages if you want. They will appear in the changelog.
- Go to the Actions Tab
- Click Release on the left
- Click Run Workflow on the right
- Type in the appropriate version (patch)
- Click run
The url to the latest release of the openapi spec is: https://github.com/zerotier/zerotier-one-api-spec/releases/latest/download/openapi.yaml