Dockerisation.

This commit is contained in:
Florian THIERRY
2025-05-11 12:39:40 +02:00
parent f98e1227e8
commit 458e72d6aa
4 changed files with 54 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
package com.example.demo.exposition.debug
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.RequestMapping
import org.springframework.web.bind.annotation.RestController
@RestController
@RequestMapping("/api/debug")
class DebugController {
@GetMapping("/info")
fun debug(): String = """
{
"message": "Hello world!"
}
""".trimIndent()
}