Going to infinity and beyond documentation with OpenAPI
summary
OpenAPI functions as a literal development contract enabling OpenAPI as contract design-first workflows, automatic SDK generation, and parallel front-end work; teams use Stoplight tooling to mock APIs and run mock server Prism that serves example responses so UIs and docs start before implementation. Continuous checks verify implementations against specs via contract testing with Dredd and linters, large orgs (Slack, Stripe, New York Times, Microsoft ~440 contributors) host specs on GitHub for community feedback.
AI-written summary · about
chapters (14)
- 0:00Intro
- 1:00SINGLE SOURCE OF TRUTH
- 2:52STANDARD, structured approach FOR DESCRIBING APIS THAT IS BOTH human AND machine READABLE
- 3:43HIDDEN OPENAPI BENEFITS
- 6:10TOOL FOR Collaboration
- 7:14ENHANCES Developer
- 7:241. DESIGN-FIRST
- 7:48Consistency for users Important for critical APIs Code-first can be expensive Gain the benefits of using OpenAPI
- 9:22WHY Should YOU CARE ABOUT MOCKING?
- 13:14Experimental APIs are mock services that use simulated data to mimic API functions. They are designed with the goal of getting early feedback from the community around API desirability and design before the product release." -Capital One DevExchange, "Design Thinking and API Design
- 13:48Start with humans What are the tasks users want to accomplish?" "Will the API help them achieve these tasks?" "Are the endpoints confusing?
- 15:25Gain the benefits of it being machine readable All kinds of validation testing Prioritize the experience
- 17:56THE REALITY
- 19:30WHAT WOULD ALLOW YOU TO FOCUS MORE ON THE API experience?
