API Evangelist Paper · Fundamentals
The API Design Guide
The design rules that hold up across 2,049 provider-published OpenAPI documents, and the anti-patterns that keep coming back.
About this paper
Every provider I have looked at in sixteen years has design rules. Most of them live in a reviewer’s head, which is why the same API can use kebab-case in one path and camelCase in the next, page one collection with offset and the next with cursor, and describe five errors with five different schemas.
This paper writes the rules down and ties each one to what the market already does. I measured 2,049 OpenAPI documents that providers publish themselves, 197,450 operations, and read the 1,279 custom lint rules that 70 providers publish as their own style guides. The result is thirty-one rules, each with the share of providers that already follow it, a list of the anti-patterns that recur, and a checklist that runs as a script against your own contract.
What's inside
- Why a design guide still matters
- How the evidence was gathered
- The contract itself
- Naming
- Operations
- Responses and errors
- Collections and pagination
- Versioning and change
- Examples
- Security
- Writes and data
- Anti-patterns and a provider self-assessment
- Appendix A — The rules, as a checklist
What you get for $25.00
These papers are experience-based and vendor-neutral, distilled from the API Evangelist research at apievangelist.com. Questions before buying? [email protected].
arrow_back All papers