Versioning REST APIs and vendor specific content type
问题 I read a lot about versioning REST APIs, f.e. in this thread: Best practices for API versioning? Because of that I would like to use the HTTP-Accept-Header to indicate which version the client is asking for. But how can I apply this in my application? Which changes had therefore be made? How does the marshaller know, which version should be used? Do I have to register my type? What I know is that I have to change the content of the @Produces -Annotation @GET @Path("/locations") @Produces(