ProblemDetail is missing serialization hints for Native Image #29801
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
theme: aot
An issue related to Ahead-of-time processing
type: bug
A general bug
Milestone
Spring AOT/Native Image:
ResponseEntityExceptionHandler
as a base class for your@ControllerAdvice
@RequestBody
).Content-Type: application/problem+json
with body{}
When you manually configure
org.springframework.http.ProblemDetail
for reflection the response body is{"type":"about:blank","title":"Bad Request","status":400,"detail":"Failed to read request","instance":"/your/endpoint"}
The text was updated successfully, but these errors were encountered: