tutorials
tutorials copied to clipboard
Maven springdoc-openapi-starter-common dependency conflict
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
https://github.com/eugenp/tutorials/blob/c9a285b203a5c7c8dc317804d4188016d69b11ad/spring-boot-modules/spring-boot-springdoc-2/pom.xml#L48
Hey @ArzamasRU,
Thanks for the feedback; we'll look into this. This issue will remain open until then. Link to the article: https://www.baeldung.com/spring-rest-openapi-documentation