def input.body
import ezmcp@0.1.0.0/src/openapi.bend as Openapiimport Base
import emerging-ezjson@1.2.0.0/src/value.bend as Value
932# a Request Body Object as the `requestBody` property, with its media type
933# `mt` (`media`): application/json's schema, mapped and described by the
934# body's description, else the schema's, else "The JSON request body.";
935# for another media type a string; required when the body is. A body of
936# no media type adds nothing
937def input.body(+rb: Value.Json, +mt: String, st: In) -> In:
938 input.body.at(String.is_empty(mt), rb, mt, st)