Function: getRequestBody()
getRequestBody(
__namedParameters):RequestBody|undefined
Defined in: core/form.ts:46
The resolved request body schema of an operation, with its properties (and array item schemas) resolved, and whether it is sent as JSON or multipart.
Parameters
| Parameter | Type |
|---|---|
__namedParameters | { operation: ResolvedOperation; spec: OpenApiSpec; } |
__namedParameters.operation | ResolvedOperation |
__namedParameters.spec | OpenApiSpec |
Returns
RequestBody | undefined