Deprecate use of path extensions for request mapping and content negotiation

Closes gh-20528
This commit is contained in:
Stephane Nicoll
2020-03-26 10:28:24 +01:00
parent 0c3be4dde5
commit ab01c55d8e
4 changed files with 23 additions and 3 deletions

View File

@@ -2211,6 +2211,7 @@ Instead of using suffix matching, we can use a query parameter to ensure that re
spring.mvc.contentnegotiation.media-types.markdown=text/markdown
----
Suffix pattern matching is deprecated and will be removed in a future release.
If you understand the caveats and would still like your application to use suffix pattern matching, the following configuration is required:
[source,properties,indent=0,subs="verbatim,quotes,attributes",configprops]