From 016863656f8653d8eb8b1ecd2694844e6309649a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Piliszek?= Date: Tue, 30 May 2023 11:25:53 +0200 Subject: [PATCH] Add DemoController Change-Id: Id31631f48ebf0e61e62ff827c4eff8d5d8ba792b --- .../main/java/com/example/demo/DemoController.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 java-spring-boot-demo/src/main/java/com/example/demo/DemoController.java diff --git a/java-spring-boot-demo/src/main/java/com/example/demo/DemoController.java b/java-spring-boot-demo/src/main/java/com/example/demo/DemoController.java new file mode 100644 index 0000000..61a5075 --- /dev/null +++ b/java-spring-boot-demo/src/main/java/com/example/demo/DemoController.java @@ -0,0 +1,14 @@ +package com.example.demo; + +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +@RestController +public class DemoController { + + @RequestMapping("/") + public Object root() { + return null; + } + +}