<bean validation working but empty message on Kotl...
# stackoverflow
u
bean validation working but empty message on Kotlin I'm trying to get Kotlin working with bean validation on spring-webflux project. Requests seems to be validated properly, but message of a response body is empty, so it's difficult to know the cause of error. Hot to get a default validation message from responses? Controller: class SomeController { @PostMapping("/foo") fun foo(@Valid @RequestBody body: FooRequest): Mono { return Mono.just(body) } } Request: data class FooRequest( @field:Min(0) val bar: Int ) The...