Skip to content

[Spring Boot 4] Jackson 3 ObjectMapperΒ #3169

@jkstrauss

Description

@jkstrauss

Currently, Springdoc 3.0.0, which supports Spring Boot 4 (which in turn favors Jackson 3 over Jackson 2) is using Jackson 2.

This is not desired for the following reasons

  • It requires having the Jackson 2 on the classpath
  • It requires any schema customization to be done in Jackson 2 instead of the more modern Jackson 3.

It would be nice if you could remove the need to have Jackson 2

  • In previous versions Jackson allowed mutating the mapper, and Springdoc's mapper is available using Json.mapper()
    • This will not be possible anymore with Jackson 3, so some API would be necessary to allow customization

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions