OpenAPI integration
alova's OpenAPI integration now lives in a standalone project — worma.
worma grew out of @alova/wormhole and is its official, generalized successor: point it at a single OpenAPI spec and it generates type-safe call code, TypeScript types, in-editor API docs, and AI-friendly API knowledge — working out of the box with alova.
What it gives you:
- Auto-generates type-safe call code and response types — even in plain JS projects.
- Embeds API docs right in your editor, so you can read each endpoint without leaving it.
- Periodically refreshes your APIs and proactively notifies you — no more waiting on the backend.
Useful next steps:
- alova template — generates alova call code for your APIs.
- Transforming generated data — built-in plugins to modify the generated output.
Already using
@alova/wormhole? See Migrating from wormhole.