How actually works next property in Spring Boot if we declare it explicitly?
spring:
mvc:
pathmatch:
matching-strategy: ANT_PATH_MATCHER
Question related to this issue https://github.com/springfox/springfox/issues/3462
How actually works next property in Spring Boot if we declare it explicitly?
spring:
mvc:
pathmatch:
matching-strategy: ANT_PATH_MATCHER
Question related to this issue https://github.com/springfox/springfox/issues/3462
See the Spring Boot documentation:
As of Spring Framework 5.3, Spring MVC supports several implementation strategies for matching request paths to
Controllerhandlers. It was previously only supporting theAntPathMatcherstrategy, but it now also offersPathPatternParser. Spring Boot now provides a configuration property to choose and opt in the new strategy:
spring:
mvc:
pathmatch:
matching-strategy: "path-pattern-parser"
For more details on why you should consider this new implementation, see the dedicated blog post.