Apidays London 2024 - Develop in parallel and ship earlier with OpenAPI and mocking, Tom Akehurst.pdf
APIdays_official
137 views
12 slides
Oct 10, 2024
Slide 1 of 12
1
2
3
4
5
6
7
8
9
10
11
12
About This Presentation
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
Size: 1.29 MB
Language: en
Added: Oct 10, 2024
Slides: 12 pages
Slide Content
|1
Develop in parallel
and ship earlier with
OpenAPI and
mocking
1
PRESENTED BY:
Tom Akehurst
CTO and co-founder, WireMock
@TomAkehurst
|
●●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
|
Service A Client B
API
Mock Service A
API
What is mocking?
|
|
●●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
|
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
|
Demo Time!
|
|12
Want to see more?
https://www.wiremock.io/demo
PRESENTED BY:
Tom Akehurst
CTO and co-founder, WireMock
@TomAkehurst