The mocking service
5 min · 50 XP · Read → Check → Complete
A working API from the spec alone
The mocking service serves live responses directly from a spec's examples and types — no implementation required. It is the engine behind design-first parallel work.
How teams use it
- Consumer onboarding — frontend teams integrate against the mock on day one.
- Spec validation — if the mock returns something unexpected, the spec is wrong; fix the contract, not the code.
- Demos — show a realistic API before a single flow exists.
Make mocks realistic
The mock is only as good as the spec's examples. Coach teams to add meaningful examples to each response so the mock returns believable data, not empty shells.
Coaching note
The mock is a feedback instrument. Guide customers to review the mock with consumers early — that conversation surfaces contract problems while they are cheap to fix.
1. What makes a mocking-service response realistic?
2. What does the mocking service serve responses from?
3. How can teams use the mocking service for spec validation?
4. When can frontend teams start integrating with a mocked API?
5. Who should review the mock with the team according to the coaching note?
6. What can teams demo with a mocking service?