def call.of
import ezmcp@0.1.0.0/src/openapi.bend as Openapiimport Base
1278def call.of(
1279 method: String,
1280 +mt: String,
1281 +body: Maybe<&2, String>,
1282 built: Req
1283) -> Call:
1284 match built:
1285 case Req{+path, pairs, hs}:
1286 call.send(String.contains(path, "{"), method, mt, body, path, pairs, hs)