Fix formatting and spelling

(cherry picked from commit 4dacc64a30)
This commit is contained in:
Sam Brannen
2026-01-28 14:31:44 +01:00
parent 103057de2a
commit 91ff706e8c
2 changed files with 3 additions and 3 deletions
@@ -34,7 +34,7 @@ any `@RequestMapping` method to render an RFC 9457 response. This is processed a
already set.
- The Jackson JSON and XML message converters use "application/problem+json" or
"application/problem+xml" respectively as the producible media types for `ProblemDetail`
to ensure they are favoured for content negotiation.
to ensure they are favored for content negotiation.
To enable RFC 9457 responses for Spring WebFlux exceptions and for any
`ErrorResponseException`, extend `ResponseEntityExceptionHandler` and declare it as an
@@ -32,9 +32,9 @@ any `@RequestMapping` method to render an RFC 9457 response. This is processed a
- The `status` property of `ProblemDetail` determines the HTTP status.
- The `instance` property of `ProblemDetail` is set from the current URL path, if not
already set.
0- The Jackson JSON and XML codecs use "application/problem+json" or
- The Jackson JSON and XML codecs use "application/problem+json" or
"application/problem+xml" respectively as the producible media types for `ProblemDetail`
to ensure they are favoured for content negotiation.
to ensure they are favored for content negotiation.
To enable RFC 9457 responses for Spring MVC exceptions and for any
`ErrorResponseException`, extend `ResponseEntityExceptionHandler` and declare it as an