Make money doing the work you believe in

About versioning of APIs.

In my opinion, versioning whether via URI, query parameter, or header, makes things complicated for the maintenance of the API.

Instead, using same URL and leveraging contract testing strategy, will help:

- Owners of the API to understand if some change they is breaking some user.

- Users will know when they have to adapt their client/s to the changes of the API

Sounds a bit drastic and there are occasions, like public APIs, were my proposal is not the best

Nov 14, 2024
at
6:37 PM
Relevant people

Log in or sign up

Join the most interesting and insightful discussions.