Generate types

This is exactly what apps/dashboard/package.json’s generate:api-types script does against the committed schema — it’s a real, exercised code path, not a hypothetical.

Use with a typed fetch wrapper

(openapi-fetch is a thin, typed wrapper around fetch — not required, but pairs naturally with openapi-typescript’s output.)

Handling auth

Store tokens the way your application’s threat model requires — the dashboard uses httpOnly cookies set by server-side route handlers (see Security); a backend service talking to MAEL server-to-server can hold them in memory/secret storage directly.

Python