Skip to content

Conversation

@ghoonch4
Copy link

@ghoonch4 ghoonch4 commented Jan 6, 2026

This change defers the API version validation error.

As a result, the versionRequired option (e.g., spring.mvc.apiversion.required=true) is evaluated for each HandlerMapping, and only applies when a HandlerMapping both configures an ApiVersionStrategy and is matched by the URL.

Closes gh-36059

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Jan 6, 2026
@rstoyanchev
Copy link
Contributor

I opted for a slightly different approach. Thanks for the pull request in any case, and for the report.

@rstoyanchev rstoyanchev closed this Jan 7, 2026
@rstoyanchev rstoyanchev added status: declined A suggestion or change that we don't feel we should currently apply and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Jan 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: declined A suggestion or change that we don't feel we should currently apply

Projects

None yet

Development

Successfully merging this pull request may close these issues.

When no API version is provided, static resources fail to load

3 participants