Skip to content

Commit 4e64426

Browse files
authored
more specific bean name for objectMapperProvider
The bean name is very generic. Application context failed to start up for me because in the graphql kickstart library there's a bean with the same name. See https://github.com/graphql-java-kickstart/graphql-spring-boot/blob/13cd484f913fe7885ff5d5bc5883b1e9544d4ca6/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/spring/web/boot/GraphQLWebAutoConfiguration.java#L269 Therefore I propose a more specific bean name.
1 parent 1b1e652 commit 4e64426

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

springdoc-openapi-common/src/main/java/org/springdoc/core/SpringDocConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ CloudFunctionProvider springCloudFunctionProvider(Optional<FunctionCatalog> func
606606
@Bean
607607
@ConditionalOnMissingBean
608608
@Lazy(false)
609-
ObjectMapperProvider objectMapperProvider(SpringDocConfigProperties springDocConfigProperties){
609+
ObjectMapperProvider springDocObjectMapperProvider(SpringDocConfigProperties springDocConfigProperties){
610610
return new ObjectMapperProvider(springDocConfigProperties);
611611
}
612-
}
612+
}

0 commit comments

Comments
 (0)