Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SpringDoc bean naming conflict error with GraphQL Spring boot starter again #2526

Closed
melo0187 opened this issue Mar 13, 2024 · 1 comment
Closed
Labels
incomplete incomplete description: Make sure you Provide a Minimal, Reproducible Example - with HelloController

Comments

@melo0187
Copy link

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.

@bnasslahsen bnasslahsen added the incomplete incomplete description: Make sure you Provide a Minimal, Reproducible Example - with HelloController label Mar 13, 2024
@bnasslahsen
Copy link
Contributor

Not reproducible.
Feel free to provide a Minimal, Reproducible Example - with HelloController that reproduces the problem.

This ticket will be closed, but can be reopened if your provide the reproducible sample.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
incomplete incomplete description: Make sure you Provide a Minimal, Reproducible Example - with HelloController
Projects
None yet
Development

No branches or pull requests

2 participants