Skip to content

Update dependency org.springdoc:springdoc-openapi-starter-webmvc-ui to v3.2.1 - #1221

Merged
renovate[bot] merged 1 commit into
developfrom
renovate/springdocversion
Nov 21, 2026
Merged

renovate[bot] merged 1 commit into
developfrom
renovate/springdocversion

Conversation

@renovate

@renovate renovate Bot commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
org.springdoc:springdoc-openapi-starter-webmvc-ui (source) 3.2.0 → 3.2.1 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

springdoc/springdoc-openapi (org.springdoc:springdoc-openapi-starter-webmvc-ui)

v3.2.1

Security
Added
  • #​3433 – Derive the required properties of kotlinx.serialization @Serializable classes when jackson-module-kotlin is absent: a primary constructor property is required unless it has a default value or is @Transient, or when it is annotated with @Required. Disable it with springdoc.model-converters.kotlinx-serialization-required-property-customizer.enabled=false
Changed
  • Upgrade swagger-core to version 3.0.0, which moves to Jackson 3 (tools.jackson) and Jakarta EE 11. The
    Jackson mappers of springdoc-openapi and swagger-core are now Jackson 3 mappers
  • The swagger artifacts are renamed: swagger-annotations-jakarta, swagger-models-jakarta and
    swagger-core-jakarta become swagger-annotations, swagger-models and swagger-core. Update the
    dependencies you declare explicitly
  • Jackson 3 mappers are immutable: customize the swagger-core mappers with ObjectMapperFactory.addCustomizer
    instead of changing Json.mapper() or Json31.mapper()
  • With Jackson 3, the parameter of a single public constructor whose name matches no property is documented as a
    writeOnly property
  • With Jackson 3, the properties of getters starting with an acronym keep its case, as Jackson 3 serializes them:
    getETag() is documented as ETag instead of etag, and getURI() as URI instead of uri
  • The user's OpenAPI bean, and the schemas and responses springdoc-openapi adapts, are copied with
    ModelCopy.deepCopy instead of a JSON round trip
  • Upgrade swagger-ui to version 5.35.1
  • Upgrade spring-boot to version 4.2.0. Spring Boot 4.2 ignores the X-Forwarded-Prefix header by default: behind a proxy that sets it, enable it with server.request.header.forwarded.use-prefix=true so that the Swagger UI and Scalar URLs keep the prefix. server.forward-headers-strategy is deprecated in favor of server.request.header.forwarded.strategy. Behind a proxy that sends the host in the standard Forwarded header and the prefix in X-Forwarded-Prefix, the Spring Boot properties cannot read both, as use-prefix requires the x-forwarded naming: serve the application under the prefix (server.servlet.context-path or spring.webflux.base-path) and forward the path unchanged, or register a ForwardedHeaderFilter or ForwardedHeaderTransformer that reads the standard header with setUseForwardedPrefix(true)
  • Upgrade Scalar to version 0.8.0
  • Upgrade Spring AI to version 2.0.2
Fixed
  • With OpenAPI 3.1, a required @JsonUnwrapped member no longer adds an empty property to the schema
  • #​3393 – A subtype keeps the allOf reference to its polymorphic parent when a controller repeats an annotation of its interface, such as @Valid, on a @RequestBody
  • #​3395 – OpenAPI 3.1 schemas are cloned correctly, and without changing the original schema, also when swagger-core resolved a schema before springdoc-openapi configured its mapper
  • #​3397 – With Spring Boot 4, WebFlux applications document their parameters with their own conversion service, instead of a default one that knows none of their converters
  • #​3398 – A property declaring @Schema(oneOf) or @Schema(allOf) narrows only its own subtypes, instead of making every other property of the same type lose its subtypes
  • #​3399 – A nullable Kotlin property renamed with @JsonProperty or @JsonNaming is marked nullable
  • #​3402 – The registry of deprecated annotations is thread safe
  • #​3405 – Document the validation constraints of parameters without Hibernate Validator on the classpath, instead of failing with NoClassDefFoundError
  • #​3425 – In the MCP tool input schema, expand every property that references the same component, instead of treating the repeated references as circular and dropping their properties
  • #​3427 – In the MCP tool input schema, keep every type of an OpenAPI 3.1 type array, such as ["string", "null"], instead of only the first one
  • #​3429 – In Spring Data REST response schemas, an association to an entity without an exported repository uses the <Name>Response schema also when it is nullable (wrapped in allOf or oneOf), and an entity whose @Schema(name) differs from its class name gets its associations filtered as well. This <Name>Response naming applies since 3.1.1
  • #​3434 – The MCP tools are registered when springdoc.group-configs or springdoc.cache.disabled is set, instead of waiting for springdoc.ai.mcp.init-timeout-seconds and registering none
  • #​3441 – With springdoc.enable-default-api-docs=false, the MCP tools are registered from the operations of every API group, an operation of several groups becoming a single tool, instead of waiting for springdoc.ai.mcp.init-timeout-seconds and registering none
  • #​3431 – With Jackson 3, an ArrayNode field is documented as an array and a StringNode field as a string, like an ObjectNode field is documented as an object, instead of a reference to an empty schema
  • Serve the swagger-ui webjar found on the classpath when the application overrides its version, instead of returning 404 unless springdoc.swagger-ui.version is also set

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot enabled auto-merge (squash) November 21, 2026 09:01
@coderabbitai

coderabbitai Bot commented Nov 21, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 3916101f-7aaa-4c02-9df2-ffa34423d27e

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@renovate
renovate Bot merged commit 6419456 into develop Nov 21, 2026
1 of 4 checks passed
@renovate
renovate Bot deleted the renovate/springdocversion branch November 21, 2026 09:01
Brutus5000 added a commit that referenced this pull request Nov 21, 2026
Spring Boot 4.2 needs more changes than the dependency bump (starter-rabbitmq,
listener injection cycle with Spring ORM 7.1) and springdoc 3.2.1 clashes with
elide-swagger's swagger-core-jakarta. Go back to the last green state so
develop can be released.

Reverts #1220, #1221 and 6664a98. Renovate ignores springdoc until
elide-swagger supports swagger-core 3.x.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants