Skip to content

Add ApiVersionResolver based on parameter in media type #35050

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
rstoyanchev opened this issue Jun 13, 2025 · 0 comments
Open

Add ApiVersionResolver based on parameter in media type #35050

rstoyanchev opened this issue Jun 13, 2025 · 0 comments
Assignees
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Milestone

Comments

@rstoyanchev
Copy link
Contributor

rstoyanchev commented Jun 13, 2025

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.

@rstoyanchev rstoyanchev added this to the 7.0.0-M7 milestone Jun 13, 2025
@rstoyanchev rstoyanchev self-assigned this Jun 13, 2025
@rstoyanchev rstoyanchev added in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement labels Jun 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant