liveBook · Manning

API design proposal

As explained in Automating API Delivery

An API design proposal is a proposed specification of an API's interface, behavior, and interaction conventions submitted for consideration before implementation.

An API design proposal packages proposed API changes for review before implementation. For a RESTful API, it can include OpenAPI definition files, guide documentation, and other context needed by an API governance team. section 8.0

Treat the proposal as a reviewable pull request with automated quality gates:

  • Submit the API definition, guide documentation, and supporting information in a pull request. section 8.0
  • Run API linting against the definition and configure the build to fail on ERROR-level problems. section 8.7
  • Compare new and old definition files for breaking changes and fail the build when incompatible changes are found. section 8.7
  • Lint Markdown guide documentation according to its configured severity, then inspect warnings and other non-blocking findings during review. section 8.7
  • Let the governance team review the proposal after minimum automated criteria pass; automation supports, but does not replace, design review. section 8.7

The proposal keeps API reference material distinct from guide documentation: the former is rendered from the definition, while the latter covers topics such as authentication, errors, pagination, versioning, and deprecation. section 8.0

How Automating API Delivery covers it

How deep it goes
Defines proposal contents and review gates, then stops short of prescribing a complete organization-wide approval policy.
Examples
Uses OpenAPI YAML or JSON definitions, Markdown guides, linting reports, and new-versus-old definition comparisons.
What it assumes
Assumes pull-request workflows and API design artifacts, while distinguishing API definitions from guide documentation.
What you can do after
Evaluate an API proposal through automated linting, breaking-change checks, documentation checks, and governance review.
How it connects
Connects API governance, API design-first, OpenAPI, pull requests, API linting, breaking change detection, and CI/CD.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Automating API Delivery. The section links point to the parts of the book it draws on.