Page Contents

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

OperationSpecBuilder.withOperationId() method

Define the operationId

Signature:

withOperationId(operationId: string): this;

Parameters

Parameter Type Description
operationId string Operation id

Returns:

this