Skip to content

Which version of SpringDoc is compatible with Jackson 3.x? #3268

Closed

Description

@XDDEmbr

Which version of SpringDoc is compatible with Jackson 3.x?

Activity

  1. Mattias-Sehlstedt commented on Apr 21, 2026

    @Mattias-Sehlstedt
    Contributor

    Jackson comes from an underlying dependency. See answer from project maintainer #3157 (comment) and the swagger-core issue swagger-api/swagger-core#4991.

  2. ML-Marco commented on Apr 24, 2026

    @ML-Marco
    Contributor

    To answer the question, there is currently no version that is compatible with Jackson 3 because the swagger-core project has not been updated yet. There is a PR swagger-api/swagger-core#5031 that migrates it to Jackson 3.
    So if you need Jackson 3 you'd have to checkout that branch, build the artifacts, fork springdoc and update the dependency in the spring-boot-4 branch. After that you need to update Springdoc to support Jackson 3.

  3. vpelikh commented on Jun 8, 2026

    @vpelikh

    Hey, @XDDEmbr. I’ve created an unofficial fork of springdoc-openapi with Jackson 3 support, to solve the problem described in this issue.

    For example springdoc-openapi-starter-webmvc-api:

    My fork is based on the spring-boot-4 branch and uses Jackson 3 directly via my fork of swagger-core.

    Hope this helps anyone who needs Jackson 3 support right now.

  4. gadamsfd commented on Jul 7, 2026

    @gadamsfd

    Is this planned to be resolved anytime soon?

  5. bnasslahsen commented on Jul 12, 2026

    @bnasslahsen
    Collaborator

    @gadamsfd,

    Please follow swagger-api/swagger-core#4991
    Once it's done, we will upgrade.

  6. added
    question
    on Jul 12, 2026
  7. marcusvoltolim commented on Oct 29, 2026

    @marcusvoltolim

    6. @gadamsfd,
    Please follow swagger-api/swagger-core#4991
    Once it's done, we will upgrade.

    Released yesterday

  8. PandaGeek1024 commented on Oct 30, 2026

    @PandaGeek1024

    Please let us know when you gonna release the new version base on the new swagger-core

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    question

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions