Skip to content

springdoc-openapi v2.10.1 released!

Choose a tag to compare

@bnasslahsen bnasslahsen released this 20 Nov 20:17
· 453 commits to main since this release

Spring Boot 3.5.x line (built on Spring Boot 3.5.16).

⚠️ Changes you may notice

  • Spring Data REST (#3429): an association to an entity without an exported repository uses the <Name>Response schema consistently, also when it is nullable, and an entity whose @Schema(name) differs from its class name gets its associations filtered as well.

New

  • required properties of kotlinx.serialization @Serializable classes are derived when jackson-module-kotlin is absent (#3433). Disable with springdoc.model-converters.kotlinx-serialization-required-property-customizer.enabled=false.
  • An application can override the swagger-ui webjar version: springdoc-openapi serves the version found on the classpath, without springdoc.swagger-ui.version.

Fixed

  • ArrayNode and TextNode are documented as an array and a string (#3431).
  • A subtype keeps its allOf reference to its polymorphic parent when a controller repeats an annotation of its interface, such as @Valid (#3393).
  • OpenAPI 3.1 schemas are cloned correctly when swagger-core resolved a schema before springdoc-openapi configured its mapper (#3395).
  • A property-level @Schema(oneOf) narrows only its own subtypes (#3398).
  • A nullable Kotlin property renamed with @JsonProperty or @JsonNaming is marked nullable (#3399).
  • The deprecated annotations registry is thread safe (#3402).
  • Validation constraints are documented without Hibernate Validator on the classpath (#3405).

Security

Dependencies

Spring Boot 3.5.16 · swagger-core 2.2.55 · swagger-ui 5.35.1 · Scalar 0.8.0 · Spring Cloud Function 4.3.4

Thanks to all the contributors of this release: @kuglo, @jochenberger, @Shubchynskyi, @aswinalfarizi, @gwr0-0.