The versions of the springdoc-openapi-starter-common dependency conflict, so swagger does not work. In springdoc-openapi-starter-webmvc-ui the springdoc-openapi-starter-common dependency has version 2.5.0, but below in the same pom.xml file springdoc-openapi-starter-common has 2.2.0. If I make these versions the same, or completely remove springdoc-openapi-starter-common from this pom.xml (because springdoc-openapi-starter-common is already in springdoc-openapi-starter-webmvc-ui), then swagger will work
|
<version>${springdoc.version}</version> |
The versions of the springdoc-openapi-starter-common dependency conflict, so swagger does not work. In springdoc-openapi-starter-webmvc-ui the springdoc-openapi-starter-common dependency has version 2.5.0, but below in the same pom.xml file springdoc-openapi-starter-common has 2.2.0. If I make these versions the same, or completely remove springdoc-openapi-starter-common from this pom.xml (because springdoc-openapi-starter-common is already in springdoc-openapi-starter-webmvc-ui), then swagger will work
tutorials/spring-boot-modules/spring-boot-springdoc-2/pom.xml
Line 48 in c9a285b