Skip to content

Commit

Permalink
Add "application/*+json" to MappingJackson2MessageConverter
Browse files Browse the repository at this point in the history
Closes gh-20269
  • Loading branch information
rstoyanchev committed Dec 14, 2021
1 parent bdbcc4f commit b7cd049
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public class MappingJackson2MessageConverter extends AbstractMessageConverter {
* the {@code application/json} MIME type with {@code UTF-8} character set.
*/
public MappingJackson2MessageConverter() {
super(new MimeType("application", "json"));
super(new MimeType("application", "json"), new MimeType("application", "*+json"));
this.objectMapper = initObjectMapper();
}

Expand Down

0 comments on commit b7cd049

Please sign in to comment.