Page Contents

Home > @loopback/openapi-v3 > ControllerSpec

ControllerSpec interface

Signature:

export interface ControllerSpec 

Properties

Property Modifiers Type Description
basePath?   string (Optional) 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 (/).
components?   ComponentsObject (Optional) OpenAPI components.schemas generated from model metadata
paths   PathObject The available paths and operations for the API.