What's Changed
- Add Encoding to multiple files and JSON payloads request test case. Fixes #2649 by @buzzerrookie in #2650
- Trim indent apply schema description by @e-build in #2653
- fix: typo in SpringSecurityLoginEndpointCustomizer method name by @YunByungil in #2659
- fix: Update Response Code by @YunByungil in #2660
- Refactor Replace hardcoded schema prefix length by @zinzoddari in #2664
- Replace swagger urls in
org.springdoc.core.properties.AbstractSwaggerUiConfigProperties#urls
only if url is changed. Test to check if the issue is fixed. Fixes #2509. by @dgswan in #2668 - Fix SpringDocApp193Test for Java 21 and above. Fixes #2442. by @dgswan in #2669
- Ensure default media type order is preserved using LinkedHashSet in mergeArrays. Fixes #2671 by @limehee in #2672
- fix: Missing descriptions on Kotlin ByteArray fields by @GeorgEchterling in #2711
- Display nullable request body with map type by @granddaifuku in #2727
- fix for issue #2733 by @kamilkrzywanski in #2734
- issue #2733 second change for only check response entity type by @kamilkrzywanski in #2736
- Readme.md add gradle import by @divinenickname in #2746
- Added support for RequestBody as a meta-annotation by @edudar in #2760
- Add SortAsQueryParam annotation by @ondrejkrpec in #2777
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
- @buzzerrookie made their first contribution in #2650
- @YunByungil made their first contribution in #2659
- @dgswan made their first contribution in #2668
- @limehee made their first contribution in #2672
- @GeorgEchterling made their first contribution in #2711
- @granddaifuku made their first contribution in #2727
- @kamilkrzywanski made their first contribution in #2734
- @divinenickname made their first contribution in #2746
- @edudar made their first contribution in #2760
- @ondrejkrpec made their first contribution in #2777
Full Changelog: v2.6.0...v2.7.0