Lifecycle & Publishing

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.

Check your understanding
  1. 1. What makes a mocking-service response realistic?