Fork me on GitHub
#ring
<
2022-07-11
>
ozzymcduff11:07:34

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

ozzymcduff09:07:38

Thanks, I’ll look into it 🙂