Allow setting the ProblemDetail.type via a MessageSource #30566
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
As a user I would like to be able to provide a
ProblemDetail.type
via aMessageSource
, just like I already can for theProblemDetail.title
andProblemDetail.detail
.This makes it easier to define my own ProblemDetail types for the ProblemDetail created by the
ResponseEntityExceptionHandler
for the standard Spring exceptions.Note: I have discussed this feature request with @rstoyanchev at Spring I/O 2023
The text was updated successfully, but these errors were encountered: