Ah, for `get(”…”)` it won’t work naturally, becaus...
# ktor
o
Ah, for
get(”…”)
it won’t work naturally, because it’s not a Route builder, but a handler already… for now you will have to go via
Copy code
route(”/api/pets”) {
   method(HttpMethod.Get) {
       specification { … }
       handle { … }
   }
}
not very convenient, but at least a start