We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec1cb17 commit cf9cc9eCopy full SHA for cf9cc9e
src/main/java/com/example/demo/DemoApplication.java
@@ -2,7 +2,9 @@
2
3
import org.springframework.boot.SpringApplication;
4
import org.springframework.boot.autoconfigure.SpringBootApplication;
5
+import org.springframework.data.web.config.EnableSpringDataWebSupport;
6
7
+@EnableSpringDataWebSupport(pageSerializationMode = EnableSpringDataWebSupport.PageSerializationMode.VIA_DTO)
8
@SpringBootApplication
9
public class DemoApplication {
10
0 commit comments