Skip to content

Update documentation on the MediaType used for ProblemDetail #36192

@rstoyanchev

Description

@rstoyanchev

As stated in #29588 (comment), the documentation says:

- For content negotiation, the Jackson `HttpMessageConverter` prefers
"application/problem+json" over "application/json" when rendering a `ProblemDetail`,
and also falls back on it if no compatible media type is found.

However, the actual behavior in our Jackson message support is to always use "application/problem+json".

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)status: backportedAn issue that has been backported to maintenance branchestype: documentationA documentation task

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions