codebender828 / hathora-api

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hathora Cloud API

Merging to main deploys the API Reference Docs to https://hathora.docs.buildwithfern.com/api-reference.

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)

About

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