diff --git a/src/main/antora/modules/ROOT/pages/representations.adoc b/src/main/antora/modules/ROOT/pages/representations.adoc index 0a68c466b..6262c0161 100644 --- a/src/main/antora/modules/ROOT/pages/representations.adoc +++ b/src/main/antora/modules/ROOT/pages/representations.adoc @@ -36,7 +36,7 @@ To add your own Jackson configuration to the `ObjectMapper` used by Spring Data [source,java] ---- @Override -protected void configureJacksonObjectMapper(ObjectMapper objectMapper) { +public void configureJacksonObjectMapper(ObjectMapper objectMapper) { objectMapper.registerModule(new SimpleModule("MyCustomModule") {