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

apidays Paris 2024 - Develop in Parallel and Sh...

apidays
December 22, 2024

apidays Paris 2024 - Develop in Parallel and Ship Earlier with OpenAPI and Mocking, Lee Turner, WireMock

Develop in Parallel and Ship Earlier with OpenAPI and Mocking
Lee Turner, Senior Software Engineer at WireMock

apidays Paris 2024 - The Future API Stack for Mass Innovation
December 3 - 5, 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

December 22, 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: Lee Turner Senior Software Engineer, WireMock @leeturner
  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. | 11 Want to see more? https://www.wiremock.io/demo PRESENTED BY: Lee

    Turner Senior Software Engineer, WireMock @leeturner