liveBook · Manning

Design-first approach

A specification-first approach defines and validates an interface or behavioral contract before implementing the system that conforms to it.

How 2 Manning books explain it

Automating API Delivery

An API development practice that iteratively creates and validates an API definition before implementing the API in code.

How it is used
Establishes an agreed API definition for consumer validation before implementation and for parallel backend, testing, and client work afterward.
How deep it goes
Describes iterative definition, mocking, review, approval, and implementation handoff, without prescribing a single universal design-review procedure.
Examples
Uses a Product Catalog API operations table and approval by pull-request merge or review-ticket status change.
What you can do after
Practice/perform consumer validation and explicit design approval before coordinating parallel implementation against an agreed API definition.

Read how Automating API Delivery explains design-first approach →

The Design of Web APIs, Second Edition

A specification-first approach is an API development method in which the API specification is authored before or alongside implementation code.

How it is used
Uses an independent OpenAPI document to design, describe, discuss, and validate a REST API before implementation.
How deep it goes
Explains source-of-truth trade-offs, editor selection, and document structure, but defers implementation-framework details.
Examples
Uses /products, OpenAPI editors, Swagger Editor Next, and a comparison of specification-first and code-first trade-offs.
What you can do after
Author and evaluate an OpenAPI contract independently, then use it to check exposed operations and document HTTP behavior.

Read how The Design of Web APIs, Second Edition explains design-first approach →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.