Page Contents

Home > @loopback/openapi-spec-builder > OperationSpecBuilder > withRequestBody

OperationSpecBuilder.withRequestBody() method

Signature:

withRequestBody(requestBodySpec: RequestBodyObject): this;

Parameters

Parameter Type Description
requestBodySpec RequestBodyObject  

Returns:

this