ring

2022-07-11T11:15:34.439229Z

Hi! For those of us that write Web API. How are you doing API versioning? In Java the simple way is to provide different types that are returned from a Web API that get serialised into the appropriate JSON (using standard reflection based serialisation such as Jackson). How do you write API versions with different data formats?

2022-07-12T09:47:38.435029Z

Thanks, I’ll look into it 🙂

Ben Sless 2022-07-12T04:00:40.975149Z

You can use a multi schema which dispatches on the version