7
Defining and Validating an API Design
Defining an API involves working together with stakeholders to reach a point where everyone agrees that the API will work well in a real-life scenario. This chapter will teach you the different techniques you can use to validate an API design. You will learn how to define the capabilities of your API by distilling the information you obtained during the strategy step. You will also learn how to use API mocks to prototype your API so that stakeholders can test it and reach a point where your definition is validated. You will learn that API mocks are fake versions or imitations of APIs. Mocks let you have an API that’s ready to be tested without you having to build it first.
This chapter will begin by showing ...
Get Building an API Product now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.