Hi, I have ```@RestController("/api") open class H...
# spring
c
Hi, I have
Copy code
@RestController("/api")
open class HelloController {
	@GetMapping("/hello")
	open fun hello(): String = "Hello!"
}
Spring completely ignores
"/api"
and maps to
my.domain/hello
instead of
my.domain/api/hello
. Am I missing something or it's a bug? UPDATE: My bad,
@RestController
annotation's
value
denotes component name, not request mapping part.