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
Previously, @RequestBody annotations declared in interfaces were
ignored when resolving the `required` flag for request body
matching. This caused mappings with `required = false` on
interface methods to fail if no body was provided.
This change uses AnnotatedMethod to retrieve parameter
annotations from both the implementation and its interfaces,
ensuring consistent behavior.
Closes#35085
Signed-off-by: Renato Mameli <[email protected]>
Copy file name to clipboardExpand all lines: spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerMapping.java
Copy file name to clipboardExpand all lines: spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerMappingTests.java
0 commit comments