> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt.

## GraphQL API Reference

api-reference, generators.yml

Generate API Reference documentation from a GraphQL schema. Add your `.graphql` schema file to `generators.yml` and Fern renders queries, mutations, subscriptions, and types as an interactive reference.

**`generators.yml`**

```yaml generators.yml
api:
  specs:
    - graphql: schema.graphql
```

Read the docs