/hathora-api

Hathora's Fern API which is used to generate API Documentation.

Hathora Cloud API

Tagging a release on this repository will update the:

What is in this repository?

This repository contains

To make sure that the OpenAPI is valid, you can use the Fern CLI.

npm install -g fern-api # Installs CLI
fern check # Checks if the definition is valid

What are generators?

Generators 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>

This command currently runs in a GitHub workflow (see ci.yml)