Skip to content

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

Closed
@melo0187

Description

@melo0187

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    incompleteincomplete description: Make sure you Provide a Minimal, Reproducible Example - with HelloController

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions