File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
server/api-service/lowcoder-server/src/main/java/org/lowcoder/api/framework Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change
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
+ }
You can’t perform that action at this time.
0 commit comments