Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Apidays London 2024 - Develop in Parallel and S...

apidays
October 10, 2024

Apidays London 2024 - Develop in Parallel and Ship Earlier with OpenAPI and Mocking by Tom Akehurst, WireMock

Develop in Parallel and Ship Earlier with OpenAPI and Mocking
Tom Akehurst, CTO and Co-Founder - WireMock

apidays London 2024 - APIs for Smarter Platforms and Business Processes
September 18 & 19, 2024

------

Check out our conferences at https://www.apidays.global/

Do you want to sponsor or talk at one of our conferences?
https://apidays.typeform.com/to/ILJeAaV8

Learn more on APIscene, the global media made by the community for the community:
https://www.apiscene.io

Explore the API ecosystem with the API Landscape:
https://apilandscape.apiscene.io/

apidays

October 10, 2024
Tweet

More Decks by apidays

Other Decks in Programming

Transcript

  1. | 1 Develop in parallel and ship earlier with OpenAPI

    and mocking 1 PRESENTED BY: Tom Akehurst CTO and co-founder, WireMock @TomAkehurst
  2. | • • API-driven architectures - microservices, SOA, partner integrations

    • New product features often require new features in several APIs • Leads to dependency chains between teams 2 Serial vs. Parallel in API centric systems
  3. | 4 SSO Customer profile Inventory Bookings Search Favourites Customer

    profile App Inventory Search Bookings Favourites App Sprint 1 2 3 4
  4. |

  5. | • • Mocks are quick to build - available

    almost immediately • No need to wait for depended-on API features to be shipped • Early feedback on API design = much cheaper to fix issues 7 Mocking enables parallel working
  6. | 8 SSO Customer profile Inventory Bookings Search Favourites Customer

    profile App Inventory Search Bookings App Favourites Sprint 1 2 Mock SSO Mock Customer Profile Mock Inventory Mock Search Mock Bookings Mock Favourites
  7. | Mocking with OpenAPI 9 • Generate mocks from spec

    • Generate spec elements from mocks - prototyping • Validate traffic against spec - contract testing However… • OpenAPI is not primarily intended for mock generation • Generated mocks are simplistic
  8. |

  9. | 12 Want to see more? https://www.wiremock.io/demo PRESENTED BY: Tom

    Akehurst CTO and co-founder, WireMock @TomAkehurst