@@ -425,7 +425,7 @@ Once API versioning is enabled, you can begin to map requests with versions.
425425The `@RequestMapping` `version` attribute supports the following:
426426
427427- Fixed version ("1.2") -- matches the given version only
428- - Baseline version ("1.2+") -- matches the given version and above
428+ - Baseline version ("1.2+") -- matches the given and xref:web/webmvc/mvc-config/api- version.adoc[supported versions] above
429429- No value -- matches any version, but is superseded by a more specific version match
430430
431431If multiple controller methods have a version less than or equal to the request version,
@@ -463,7 +463,7 @@ Java::
463463----
464464<1> match any version
465465<2> match version 1.1
466- <3> match version 1.2 and above
466+ <3> match version 1.2 and supported versions above
467467<4> match version 1.5
468468======
469469
@@ -474,6 +474,9 @@ For request with version `"1.3"`:
474474- (3) matches as it matches 1.2 and above, and is *chosen* as the highest match
475475- (4) is higher and does not match
476476
477+ NOTE: Version 1.3 must be present in the mappings, or be
478+ xref:web/webmvc/mvc-config/api-version.adoc[configured as supported].
479+
477480For request with version `"1.5"`:
478481
479482- (1) matches as it matches any version
@@ -490,10 +493,6 @@ versioned alternative was introduced. Therefore, even though an unversioned cont
490493method is considered a match for any version, it is in fact given the lowest priority,
491494and is effectively superseded by any alternative controller method with a version.
492495
493- NOTE: The above assumes the request version is a
494- xref:web/webmvc/mvc-config/api-version.adoc["supported" version], or otherwise it
495- would fail.
496-
497496See xref:web/webmvc-versioning.adoc[API Versioning] for more details on underlying
498497infrastructure and support for API Versioning.
499498
0 commit comments