Skip to content

Commit cf9cc9e

Browse files
committed
1 parent ec1cb17 commit cf9cc9e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: src/main/java/com/example/demo/DemoApplication.java

+2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
import org.springframework.boot.SpringApplication;
44
import org.springframework.boot.autoconfigure.SpringBootApplication;
5+
import org.springframework.data.web.config.EnableSpringDataWebSupport;
56

7+
@EnableSpringDataWebSupport(pageSerializationMode = EnableSpringDataWebSupport.PageSerializationMode.VIA_DTO)
68
@SpringBootApplication
79
public class DemoApplication {
810

0 commit comments

Comments
 (0)