<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
<version>2.6.0</version>
</dependency>
Use this one. Remove any other configuration you might have added. Access it on ${baseUrl}/swagger-ui/index.html