reest
Version:
A library inspired by NestJS's elegance, specifically designed for efficient serverless API development on AWS Lambda. It streamlines the creation of microservices with automated Swagger documentation and enhanced decorator-based middleware support, makin
17 lines (16 loc) • 461 B
TypeScript
import { Request } from "express";
export declare abstract class Controller {
Middlewares: any[];
prefix: any;
routes: any;
openapiPaths: any;
router: any;
joinMiddlewares(middlewares: any[]): void;
constructor(appContructor: any);
extractParameters(req: Request, paramsMetadata: Array<{
isObject?: boolean;
paramName: string;
parameterIndex: number;
type: string;
}>, options: any): any[];
}