Resolve the request body for an operation. Returns undefined if
the operation declares no request body.
Accepts either a raw document or an already-parsed
OpenApiDocument. diagnostics is forwarded to
getParsed so normalisation events surface to the caller's
sink.
Resolve the request body for an operation. Returns
undefinedif the operation declares no request body.Accepts either a raw document or an already-parsed OpenApiDocument.
diagnosticsis forwarded to getParsed so normalisation events surface to the caller's sink.