User manual

User manual

Read How Counterfact fits together for specifications, handlers, contexts, scenarios, API groups, and shared stores.

Build a useful local API, then add the behavior your client needs. Each chapter shows how to use a feature with examples.

New to Counterfact? Start with Generate an API from OpenAPI, then follow the first ten minutes. For exact signatures and options, use the API reference.

Choose guides by task in Find your workflow. Additional resources: FAQ, comparison, TypeScript native mode, and telemetry and privacy.

Start a working API

Define request and response behavior

Model state and workflows

Explore a running simulation

Work with evolving APIs

Integrate with development tools

Complete workflows