Openapi.body.arg: def of ezmcp@0.1.0.0 Import: import ezmcp@0.1.0.0/src/openapi.bend as Openapi Lines 1235-1243 of ezmcp@0.1.0.0/src/openapi.bend: https://jend.leeeet.dev/read.txt?path=ezmcp@0.1.0.0/src/openapi.bend&start_line=1235&end_line=1243 import Base import emerging-ezjson@1.2.0.0/src/value.bend as Value # a request's body: the `requestBody` argument, when the operation has a # body and the argument is there and not null, as JSON for # application/json, else a string as itself and anything else as its JSON def body.arg(none: Bool, +mt: String, +args: Value.Json) -> Maybe<&2, String>: match none: case True{}: None{} case False{}: body.of(mt, arg(args, "requestBody")) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=emerging-ezjson@1.3.0.0/src/value.bend&name=Json https://jend.leeeet.dev/definition.txt?path=ezmcp@0.1.0.0/src/openapi.bend&name=arg https://jend.leeeet.dev/definition.txt?path=ezmcp@0.1.0.0/src/openapi.bend&name=body.of