Merge branch '2.7.x'

pull/33098/head
Phillip Webb 2 years ago
commit 1adc7c7dd4

@ -185,7 +185,7 @@ public class JerseyAutoConfiguration implements ServletContextAware {
static class JacksonResourceConfigCustomizer {
@Bean
ResourceConfigCustomizer resourceConfigCustomizer(final ObjectMapper objectMapper) {
ResourceConfigCustomizer jacksonResourceConfigCustomizer(ObjectMapper objectMapper) {
return (ResourceConfig config) -> {
config.register(JacksonFeature.class);
config.register(new ObjectMapperContextResolver(objectMapper), ContextResolver.class);

Loading…
Cancel
Save