You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge backport of #3323/#3321, #3317 and the Spring Data REST response fixes
Backports to the Spring Boot 3 line:
- #3323 / #3321 - login endpoint example values
- #3317 - ignore an injected HttpHeaders parameter
- the shared-schema fix on top of the #3136 backport
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
16
16
17
17
-#3340 – Describe `JsonNullable` values without their Java wrapper
18
18
-#3325 – Manage the swagger artifacts in `springdoc-openapi-bom`, so that modules holding only the annotations stay in lockstep
19
+
-#3321 – Add `springdoc.login-endpoint.username-example` and `springdoc.login-endpoint.password-example` to document the Spring Security login endpoint
19
20
20
21
### Changed
21
22
@@ -39,6 +40,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
39
40
-#3338 – Kotlin nullability interpretation of the `Any?` type
40
41
-#3332 – The properties a Kotlin entity inherits from an `@Embeddable` are missing from the Spring Data REST schemas
41
42
-#3136 – A Spring Data REST association to a non-exported entity expands its `@EmbeddedId` and `@MapsId` fields recursively in the response schemas
43
+
- The Spring Data REST response post-processing rewrote an association property in place, so the `…Response` refs could leak into the schema shared with the request body representation
44
+
-#3317 – Ignore an injected `HttpHeaders` parameter explicitly. The reported failure needs Spring Framework 7, where `HttpHeaders` stopped implementing `MultiValueMap`; on this line it is still covered by the `Map` entry of the ignore list, so this is regression cover rather than a behaviour change
45
+
- Harden the Spring Data REST response post-processing against an `_embedded` schema that carries no properties
Copy file name to clipboardExpand all lines: springdoc-openapi-starter-common/src/main/java/org/springdoc/core/configuration/SpringDocSecurityConfiguration.java
Copy file name to clipboardExpand all lines: springdoc-openapi-starter-common/src/main/java/org/springdoc/core/properties/SpringDocConfigProperties.java
+80Lines changed: 80 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -168,6 +168,11 @@ public class SpringDocConfigProperties {
0 commit comments