UNPKG

tree-house

Version:

NodeJS utilities and handy helpers extending ExpressJS functionalities

16 lines (15 loc) 460 B
import { Application } from 'express'; export declare function setSwagger(app: Application, route: string, filePath: string, options?: SwaggerOptions): Promise<void>; export interface SwaggerOptions { swaggerUrl?: string; customJs?: string; customCss?: string; explorer?: boolean; host?: string; basePath?: string; schemes?: string[]; swaggerOptions?: { validatorUrl?: string | null; }; concatenate?: boolean; }