10x DevEx �Shift-Left API Governance = CycleTime/2
Naresh Jain�naresh@specmatic.io
© 2025 All Rights Reserved
Misconceptions about API Design, Tooling and Governance
© 2025 All Rights Reserved
© 2025 All Rights Reserved
How about �HTTP REST and OpenAPI’s DevEx?
Given how widely they are used,
we should expect great developer experience by now, right?
© 2025 All Rights Reserved
© 2025 All Rights Reserved
© 2025 All Rights Reserved
© 2025 All Rights Reserved
Seamless, easy, frictionless (drive autonomy and self-service)
© 2025 All Rights Reserved
Efficient, performant and reliable at scale
© 2025 All Rights Reserved
Shift-left (early feedback) and avoid late surprises
© 2025 All Rights Reserved
Safe-fail experimentation – key for learning & growing
© 2025 All Rights Reserved
Integrated & Unified (no context switching/jumping thru hoops)
© 2025 All Rights Reserved
Customizable and Extensible (plugin/extension architecture)
© 2025 All Rights Reserved
Observability for data-driven decision making
© 2025 All Rights Reserved
Time & space independence for creative problem solving
© 2025 All Rights Reserved
Trust, transparency and clear accountability
© 2025 All Rights Reserved
What could be a much better DevEx?
© 2025 All Rights Reserved
© 2025 All Rights Reserved
Contract Driven Development – In a nutshell
Consumer
Provider
API Design First
© 2025 All Rights Reserved
© 2025 All Rights Reserved
This is a common problem for anyone in the
microservices and micro-frontend hell-hole
© 2025 All Rights Reserved
© 2025 All Rights Reserved
23
© 2025 All Rights Reserved
24
© 2025 All Rights Reserved
Why are we finding these issues so late in the game?
Let’s understand what was happening?
© 2025 All Rights Reserved
Issues we discovered �(even though the team thought everything was under control)
© 2025 All Rights Reserved
© 2025 All Rights Reserved
Contract Testing using Pact
What did we discover…
© 2025 All Rights Reserved
© 2025 All Rights Reserved
Due to these mismatches & the steep learning curve
Pact did not work out for us
© 2025 All Rights Reserved
What is an API contract?
Based on this learning, what are the key attributes of an API Contract?
© 2025 All Rights Reserved
Our criteria for a viable API contract included:
© 2025 All Rights Reserved
Hand-rolling mocks using request/response pairs is a bad idea
Wiremock (MockLab) to rescue
© 2025 All Rights Reserved
© 2025 All Rights Reserved
Wiremock - Challenges
© 2025 All Rights Reserved
API Provider
Contract Test the API provider using the same OpenAPI Spec that the API consumer is using with Wiremock
© 2025 All Rights Reserved
Dredd
We also looked at a few other tools including ReadyAPI which did not support contract testing and was a paid tool.
© 2025 All Rights Reserved
Decided to build an inhouse tool with the following expectations…
© 2025 All Rights Reserved
Support specification standards like OpenAPI, WSDL, AsyncAPI
© 2025 All Rights Reserved
Same tool for service virtualization and contract testing��API Specifications as Executable Contracts
© 2025 All Rights Reserved
Collaborative at heart - forcing function for collaboration
© 2025 All Rights Reserved
No Code solution - language and tech stack agnostic
© 2025 All Rights Reserved
Great UX for Architects, Devs (Provider and Consumers), Testers
© 2025 All Rights Reserved
Independent development and deployment
© 2025 All Rights Reserved
CI native - runs everywhere from local to CI to test envs
© 2025 All Rights Reserved
Contract Driven Development – In a nutshell
Consumer
Provider
API Design First
© 2025 All Rights Reserved
© 2025 All Rights Reserved
Hit me up!
naresh.jain@specmatic.io
https://linkedin.com/in/nareshjain/
nashjain
https://nareshjain.in
© 2025 All Rights Reserved