src/debug.ts
Function getRouteInfo
has 62 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function getRouteInfo(
container: inversifyInterfaces.Container,
): Array<RouteInfo> {
const raw = getRawMetadata(container);
Function endpoints
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const endpoints = r.methodMetadata.map(m => {
const method = m.method.toUpperCase();
const controllerPath = r.controllerMetadata.path;
const actionPath = m.path;
const paramMetadata = r.parameterMetadata;