Page Contents

Home > @loopback/openapi-v3 > ControllerSpec > basePath

ControllerSpec.basePath property

The base path on which the Controller API is served. If it is not included, the API is served directly under the host. The value MUST start with a leading slash (/).

Signature:

basePath?: string;