Fork me on GitHub

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?

Ben Sless04:07:40

You can use a multi schema which dispatches on the version


Thanks, I’ll look into it 🙂