API Design & Governance
OverviewReferencesSession prep
Course
0/15
  1. 1Design-First Foundations
    • Why design-first
    • RAML vs OAS
    • Your first spec in API Designer
  2. 2Reuse & Fragments
    • Exchange as the reuse hub
    • Spec fragments & dependencies
    • Semantic versioning for APIs
  3. 3API Governance
    • Rulesets & conformance
    • Encoding org API standards
    • Automated conformance checks
  4. 4Lifecycle & Publishing
    • The mocking service
    • Publishing & the developer portal
    • Graceful deprecation
  5. 5Coaching the Rollout
    • Positioning design-first
    • Aligning with the C4E
    • Objections as coaching moments
References Session prep
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?

  2. 2. What does the mocking service serve responses from?

  3. 3. How can teams use the mocking service for spec validation?

  4. 4. When can frontend teams start integrating with a mocked API?

  5. 5. Who should review the mock with the team according to the coaching note?

  6. 6. What can teams demo with a mocking service?

Publishing & the developer portal