spring-framework
spring-framework copied to clipboard
Add ApiVersionResolver based on parameter in media type
When configured, one would specify the version parameter name, and then set @RequestMapping version attributes as usual. Both the accept and content-type headers can be checked, but they would have to agree on the version if both are present.