Page Contents

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

OperationSpecBuilder.withControllerName() method

Define the controller name (controller name).

Signature:

withControllerName(name: string): this;

Parameters

Parameter Type Description
name string The name of the controller containing this operation.

Returns:

this