-
-
Notifications
You must be signed in to change notification settings - Fork 534
Closed
Labels
invalidThis doesn't seem rightThis doesn't seem right
Description
Hi. At the moment we are kinda stuck because we would like to update our gradle dependencies. The problem is that springdoc-ui 1.6.9 does not work with spring boot 2.7.1... We get the following error as we start the service:
***************************
APPLICATION FAILED TO START
***************************
Description:
Parameter 4 of method indexPageTransformer in org.springdoc.webmvc.ui.SwaggerConfig required a bean of type 'org.springdoc.core.providers.ObjectMapperProvider' that could not be found.
The only way to get around this problem is to provide my own bean of type ObjectMapperProvider
.
@Configuration
class SwaggerConfiguration {
@Bean // Copy for now to fix springdoc-ui issue... Remove as soon as there is a working version
fun objectMapperProvider(
springDocConfigProperties: SpringDocConfigProperties
): ObjectMapperProvider = ObjectMapperProvider(springDocConfigProperties)
}
SamyAteia, tomaszkogut and neaplus
Metadata
Metadata
Assignees
Labels
invalidThis doesn't seem rightThis doesn't seem right