-
-
Notifications
You must be signed in to change notification settings - Fork 589
SpringDoc bean naming conflict error with GraphQL Spring boot starter again #2526
Copy link
Copy link
Closed
Labels
incompleteincomplete description: Make sure you Provide a Minimal, Reproducible Example - with HelloControllerincomplete description: Make sure you Provide a Minimal, Reproducible Example - with HelloController
Description
Describe the bug
On update to sprindoc 2.4.0 there is a bean conflict for ObjectMapperProvider.
To Reproduce
Steps to reproduce the behavior:
- What version of spring-boot you are using? 3.1.9
- What modules and versions of springdoc-openapi are you using? 2.4.0
Expected behavior
- Application with spring boot graphql starter and spring doc should have no conflicts and be running.
Additional context
Is sort of a regression on #2256
The change introduced in 2.4.0 to SpringDocJacksonKotlinModuleConfiguration.java seems to cause the problem.
Diff here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
incompleteincomplete description: Make sure you Provide a Minimal, Reproducible Example - with HelloControllerincomplete description: Make sure you Provide a Minimal, Reproducible Example - with HelloController