Skip to content

covenix / ControllerSource

Interface: ControllerSource

Defined in: src/swagger.ts:51

A controller to document: its prototype (where decorator metadata lives) plus an optional registration-time basePrefix (e.g. a /v1 version segment) that is prepended to the controller's own @Route prefix.

Properties

basePrefix?

optional basePrefix?: string

Defined in: src/swagger.ts:55

Base path prepended to the controller's @Route prefix; defaults to none.


prototype

prototype: object

Defined in: src/swagger.ts:53

The controller prototype (where decorator metadata is stored).