See the API documentation, the Node.JS SDK, the Java SDK, and the Postman collection.
This repository is the source. Tagging a release on this repository will update the destination repos:
- Node.js SDK repo
- API docs repo
- OpenAPI spec repo
- Postman collection repo
- (Coming soon) Java SDK repo
- More SDKs to come...
This repository contains
- CodeCombat's Fern API Definition which lives in the definition folder
- Generators (see generators.yml)
The API Definition contains information about what endpoints, types, and errors are used in the API. The definition is broken into smaller files such as clans.yml and stats.yml.
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 validGenerators read in your API Definition and output artifacts (e.g. the TypeScript SDK Generator) and are tracked in generators.yml.
To trigger the generators run:
fern generate --group external --version <version>The publish command currently runs in a GitHub workflow (see ci.yml)