Page Contents

Home > @loopback/openapi-v3 > requestBody

requestBody namespace

Signature:

export declare namespace requestBody 

Functions

Function Description
array(itemSpec, properties) Define a requestBody of array type.
file(properties) <p>Define a requestBody of file type. This is used to support multipart/form-data based file upload. Use @requestBody for other content types.</p><p>OpenAPI file upload</p>