changing from Spring Boot 2.5.6 to 2.6.0 produces this error on startup:

Description:

Invalid mapping pattern detected: /**/swagger-ui/**
^
No more pattern data allowed after {*...} or ** pattern element

Action:

Fix this pattern in your application or switch to the legacy parser implementation with 'spring.mvc.pathpattern.matching-strategy=ant_path_matcher'.

The suggested (legacy) fix does not work.

Using

        <swagger-models.version>2.1.11</swagger-models.version>
        <springdoc.version>1.5.12</springdoc.version>

        ...

            <!-- OpenAPI / swagger -->
            <dependency>
                <groupId>io.swagger.core.v3</groupId>
                <artifactId>swagger-models</artifactId>
                <version>${swagger-models.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springdoc</groupId>
                <artifactId>springdoc-openapi-ui</artifactId>
                <version>${springdoc.version}</version>
            </dependency>

Comment From: snicoll

@Ed42 thanks for the report but that should be reported against the relevant project.

Comment From: wilkinsona

The property in the action is incorrect. It should be spring.mvc.pathmatch.matching-strategy.

Comment From: wilkinsona

Closing in favor of #28809.