
19 Enriching API design artifacts
This chapter covers
- Adding an overview of the API, concepts, and use cases
- Sharpening data models
- Illustrating data, operations, and flows with examples
- Enhancing or adapting artifacts for implementers
- Considering a simulated or a prototyped API
- Considering API functional tests
Artifacts such as the filled API Capabilities Canvas (refining initial user needs), the OpenAPI document (describing the API), and our API design guidelines, including the OpenAPI library and linting rules (detailing the API’s standard look and behavior), help us design, discuss, review, and document an API that matches expectations. These artifacts form the core of an “API design reference kit” that serves as support and a deliverable of the API design process and is helpful across the entire API lifecycle.
In addition to supporting us during design, the API design reference kit is essential to help developers (who may be us) implement, test, and deploy the API accurately and efficiently. This kit can also be a base for the elements available on a public API portal to help third-party developers create applications that consume the API. In the case of private APIs, the API design reference kit will likely be the only resource available for developers (who may also be us) using the API.