🔍 API Design Review Language
Master advanced design review vocabulary: API-first principles, HATEOAS trade-offs, RFC 7807 error standards, pagination strategies, and gateway patterns. Advanced
0 / 5 completed
1 / 5
An architect proposes an API-first workflow: "We write the OpenAPI specification before any implementation code is written. Both the backend team and frontend team work against the spec from day one."
What is the primary advantage of this approach over an implementation-first approach?
Option C correctly identifies the core advantages of API-first (also called "spec-first" or "design-first") development. The other options contain common misconceptions:
| Claim | Why it's wrong |
|---|---|
| A: guarantees bug-free implementation | A spec establishes the interface contract, not implementation correctness. Bugs in business logic, data processing, or edge cases are independent of spec quality. |
| B: only useful for public APIs | Internal APIs benefit equally — parallel development speed gains apply regardless of who consumes the API. Many teams find internal API contracts more important because there is no external documentation discipline forcing clarity. |
| D: legally binding, no deviations | A spec is a living design document, not a legal contract. Agile workflows expect iterative spec updates as understanding improves. The goal is early alignment, not contractual rigidity. |
API-first benefits summary:
- Parallel development — frontend can build against a mock server generated from the spec while backend implements
- Design feedback — stakeholders (mobile, web, data teams) can review the API design before code is written and difficult to change
- Shared language — "resource", "field name", "endpoint path" are agreed before ambiguous verbal communication causes drift
- Contract testing — automated validation that implementation matches the spec catches regressions early