The default value for spring.mvc.pathmatch.matching-strategy should be path-pattern-parser since Spring Boot 2.6 (see release notes), but it's still the old value (ant-path-matcher) in the reference documentation.

It is incorrect in this document : https://docs.spring.io/spring-boot/docs/2.6.x/reference/html/application-properties.html#application-properties.web.spring.mvc.pathmatch.matching-strategy

However in the metadata file, the default value is correct (https://github.com/spring-projects/spring-boot/blob/2.6.x/spring-boot-project/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json#L1634).

Comment From: scottfrederick

Thanks for the report. This is a duplicate of #28936.

Comment From: ghusta

Oh sorry !