Skip to main content
Starts a mock API server based on your contract. Smart data generation with realistic values.

Usage

Options

number
default:4000
Port to listen on.
number
Simulated network delay in milliseconds.
boolean
After the server starts, automatically run Newman against it to verify the mock matches the contract.

Examples

Verification mode

With --verify, the server starts on --port (default 4000) and Bazable immediately runs Newman against every defined endpoint. Useful in CI or local dev to catch mismatches between the mock and the contract.
Point your frontend at http://localhost:4000 to develop offline against the contract. See Postman Integration for the full Postman/Newman workflow.