(
controller: Map<InjectionToken, InstanceWrapper>,
applicationConfig: ApplicationConfig,
options: {
modulePath: string | undefined;
globalPrefix: string | undefined;
operationIdFactory?: OperationIdFactory;
linkNameFactory?: (
controllerKey: string,
methodKey: string,
fieldKey: string
) => string;
autoTagControllers?: boolean;
onlyIncludeDecoratedEndpoints?: boolean;
}
)
| 126 | } |
| 127 | |
| 128 | public scanModuleControllers( |
| 129 | controller: Map<InjectionToken, InstanceWrapper>, |
| 130 | applicationConfig: ApplicationConfig, |
| 131 | options: { |
| 132 | modulePath: string | undefined; |
| 133 | globalPrefix: string | undefined; |
| 134 | operationIdFactory?: OperationIdFactory; |
| 135 | linkNameFactory?: ( |
| 136 | controllerKey: string, |
| 137 | methodKey: string, |
| 138 | fieldKey: string |
| 139 | ) => string; |
| 140 | autoTagControllers?: boolean; |
| 141 | onlyIncludeDecoratedEndpoints?: boolean; |
| 142 | } |
| 143 | ): ModuleRoute[] { |
| 144 | const denormalizedArray = [...controller.values()].map((ctrl) => |
| 145 | this.explorer.exploreController(ctrl, applicationConfig, options) |
| 146 | ); |
| 147 | return flatten(denormalizedArray) as any; |
| 148 | } |
| 149 | |
| 150 | public getModules( |
| 151 | modulesContainer: Map<string, Module>, |
no test coverage detected