generated from aura-ascend/template-service
test
This commit was merged in pull request #3.
This commit is contained in:
14
src/main/kotlin/ltd/lulz/controller/HomeController.kt
Normal file
14
src/main/kotlin/ltd/lulz/controller/HomeController.kt
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
package ltd.lulz.controller
|
||||||
|
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping
|
||||||
|
import org.springframework.web.bind.annotation.RestController
|
||||||
|
import reactor.core.publisher.Mono
|
||||||
|
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/")
|
||||||
|
class HomeController {
|
||||||
|
|
||||||
|
@GetMapping
|
||||||
|
fun home(): Mono<String> = Mono.just("Hello World")
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user