We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f97b244 commit 2ac066dCopy full SHA for 2ac066d
server/api-service/lowcoder-server/src/main/java/org/lowcoder/api/framework/IndexController.java
@@ -0,0 +1,18 @@
1
+package org.lowcoder.api.framework;
2
+
3
+import lombok.RequiredArgsConstructor;
4
+import org.lowcoder.api.framework.view.ResponseView;
5
+import org.springframework.http.MediaType;
6
+import org.springframework.web.bind.annotation.GetMapping;
7
+import org.springframework.web.bind.annotation.RestController;
8
+import reactor.core.publisher.Mono;
9
10
+@RequiredArgsConstructor
11
+@RestController
12
+public class IndexController {
13
14
+ @GetMapping(value = "/", consumes = {MediaType.ALL_VALUE})
15
+ public Mono<ResponseView<Void>> index() {
16
+ return Mono.just(ResponseView.error(ResponseView.SUCCESS, "Lowcoder API is up and runnig"));
17
+ }
18
+}
0 commit comments