Skip to content

springdoc-openapi v2.6.0 released!

Latest
Compare
Choose a tag to compare
@bnasslahsen bnasslahsen released this 30 Jun 18:26
· 96 commits to main since this release

What's Changed

  • NPE occurs when outputting an OpenAPI document since 2.5.0 by @footaku in #2561
  • Fix missing exception response types in OpenAPI spec by @mschout in #2577
  • fix: add support for leading tab characters with trim-kotlin-indent. by @testersen in #2579
  • pass HttpRequest to ServerBaseUrlCustomizer by @mshima in #2589
  • Fix consumes and produces calculation. Fixes #2596 by @jakvbs in #2600
  • Replace Page schema with PagedModel when pageSerializationMode is set to VIA_DTO by @EvaristeGalois11 in #2626
  • Ensure compatibility with previous version of spring data by @EvaristeGalois11 in #2627

New Contributors

Added

  • #2561 - NPE occurs when outputting an OpenAPI document since 2.5.0
  • #2579 - Add support for leading tab characters with trim-kotlin-indent.
  • #2589 - Pass HttpRequest to ServerBaseUrlCustomizer
  • #2596, #2600 - consumes and produces calculation. Fixes
  • #2625, #2626 - Replace Page schema with PagedModel when pageSerializationMode is set to VIA_DTO
  • #2627 - Ensure compatibility with previous version of spring data
  • #2576 - GroupedApi orders by displayName instead of name.
  • #2584 - Dynamically define ApiGroups does not work.
  • #2595 - Spring security support of @RegisteredOAuth2AuthorizedClient

Changed

  • Upgrade spring-boot to 3.3.0
  • Upgrade swagger-core to 2.2.22
  • Upgrade swagger-ui to 5.17.14
  • Upgrade spring-cloud-function to 4.1.2
  • Upgrade spring-security-oauth2-authorization-server to 1.3.0

Fixed

  • #2577 - Fix missing exception response types in OpenAPI spec
  • #2591 - When an entity class contains fields of Class<?> type, an infinite loop.
  • #2603 - PolymorphicModelConverter only handles direct subtypes and misses indirect.
  • #2606 - Spring Authorization Server Metadata Endpoint not compatible.
  • #2621 - Content-type for POST endpoints with multipart/form-data does not work since v2.4.0.
  • #2622 - Kotlin enums are always marked as required if used in Java controllers.
  • #2601 - Multiple Superclasses Are Not Mapped To Multiple allOf If Used In Different Services.
  • #2597 - Polymorphic fields on polymorphic parents don't get correct oneOf docs generated.

Full Changelog: v2.5.0...v2.6.0