|
|
@@ -0,0 +1,14 @@
|
|
|
+package com.mokasz.image_pool.restful.controller;
|
|
|
+
|
|
|
+import lombok.RequiredArgsConstructor;
|
|
|
+import org.springframework.web.bind.annotation.GetMapping;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+
|
|
|
+@RestController
|
|
|
+@RequiredArgsConstructor
|
|
|
+public class IndexController {
|
|
|
+ @GetMapping("/")
|
|
|
+ public String index() {
|
|
|
+ return "version:1.0.0";
|
|
|
+ }
|
|
|
+}
|