# APIExplorerPageGenerator

**Kind:** Class

**Source:** [`atloria-monorepo/apps/cli/src/generators/api-explorer-page.generator.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/apps/cli/src/generators/api-explorer-page.generator.ts#L58)

API Explorer Page Generator

## Methods

| Method | Signature | Returns |
|---|---|---|
| `generate` | `generate(entities: Entity[], _relationships: Relationship[])` | `Promise<void>` |

## Where it refuses work

- `APIExplorerPageGenerator` stops the work with an early return when `apiEndpoints.length === 0`.
- `APIExplorerPageGenerator` stops the work with an early return when `!decorators || !Array.isArray(decorators)`.

## When something fails

- `APIExplorerPageGenerator` handles failure in 2 places: it turns it into a return value in 1, and discards it silently in 1. A failure discarded silently leaves no trace for whoever debugs this later.
