Documentation
README
Problem Details — RFC 9457
Spring Boot 3.x includes native RFC 9457 support via ProblemDetail.
Enable in application.yml
spring:
mvc:
problemdetails:
enabled: true # enables Spring's built-in RFC 9457 handler
ProblemDetail Response Shape
{
"type": "https://api.example.com/errors/order-not-found",
"title": "Order Not Found",
"status": 404,
"detail": "No order found with id: 550e8400-e29b-41d4-a716-446655440000",
"instance": "/api/v1/orders/550e8400-e29b-41d4-a716-446655440000",
"errorCode": "ORDER_NOT_FOUND",
"timestamp": "2026-04-13T10:00:00Z"
}
Global Exception Handler
This is the opening of the README. Read the full README on GitHub.