Skip to content

springdoc-openapi v2.7.0 released! Latest

Latest
Compare
Choose a tag to compare
@bnasslahsen bnasslahsen released this 23 Nov 22:06
· 4 commits to main since this release

What's Changed

Added

  • #2777 - Add SortAsQueryParam annotation
  • #2649 - Add Encoding to multiple files and JSON payloads request test case
  • #2653 - Trim indent apply schema description
  • #2664 - Refactor Replace hardcoded schema prefix length
  • #2509, #2668 - Replace swagger urls in org.springdoc.core.properties.AbstractSwaggerUiConfigProperties#urls only if url is changed
  • #2727 - Display nullable request body with map type
  • #2746 - Readme.md add gradle import
  • #2760 - Added support for RequestBody as a meta-annotation
  • #2703 - Display nullable request body with map type
  • #2657 - Add support for OAS v3.1 webhooks

Changed

  • Upgrade spring-boot to 3.4.0
  • Upgrade swagger-ui to 5.18.2
  • Upgrade spring-security-oauth2-authorization-server to 1.4.0
  • Upgrade swagger-core to 2.2.25
  • Upgrade spring-cloud-function to 4.2.0-M1

Fixed

  • #2752 - Swagger doesn't work after custom annotation replacing request parameters
  • #2747 - Move to webjars-locator-lite, in preparation for spring-boot 3.4 GA
  • #2705 - @Schema oneOf config is ignored when generate the api-docs
  • #2744 - SpringDocUI doest add Javadoc into swagger from abstract class
  • #2708 - Spring Boot (Webflux) - Swagger UI - redirect URI does not include Gateway Prefix
  • #2725 - Serialization to openapi of org.springframework.data.domain.Sort is wrong for Spring Boot >2.x
  • #2740 - Swagger-ui ignores property springdoc.swagger-ui.supported-submit-methods
  • #2733 - Bad schema return type when created a generic wrapper class for response entity
  • #2687 - Failed to load api definition after spring boot 3.4.0-M2
  • #2642 - Calling Swagger UI via different context paths fails
  • #2709 - Annotation @hidden on rest controller class level doesn't work due to spring default proxying mechanism CGLIB
  • #2642 - Calling Swagger UI via different context paths fails
  • #2663 - Content definition in @ApiResponse remove schema generated based on the returned value
  • #2646 - The operationId is unnecessarily deduplicated for a requestBody with multiple content types
  • #2643 - UpperSnakeCaseStrategy is not working with spring boot and ParameterObject
  • #2640 - @JsonUnwrapped is ignored when PolymorphicConverter is enabled
  • #2638 - Boolean Parameter with @Schema Annotation Changes Type to string in OpenAPI Documentation
  • #2659 - Fix typo in SpringSecurityLoginEndpointCustomizer method name
  • #2660 - Update Response Code
  • #2442, #2669 - Fix SpringDocApp193Test for Java 21 and above
  • #2671 - Ensure default media type order is preserved using LinkedHashSet in mergeArrays
  • #2711 - Missing descriptions on Kotlin ByteArray fields
  • #2733 - Bad schema return type when created a generic wrapper class for response entity

New Contributors

Full Changelog: v2.6.0...v2.7.0