orangy
route(HttpMethod.Get, path)
routing {
route(HttpMethod.Get, "/v1") {
contentType(ContentType.Application.Json) {
handle { // <— this is the function that attaches handler to the route, `get` calls it implicitly for convenience
println("JSON, as expected")
}
}
}