SwaggerModule
@tsed/swagger
Usage
typescript
import { SwaggerModule } from "@tsed/swagger";
Overview
ts
class SwaggerModule extends OpenAPIBaseModule {
readonly name = "Swagger";
readonly rootDir: string;
get settings(): ({
disableSpec: boolean;
path: string;
fileName: string;
cssPath: string;
viewPath: string;
} & SwaggerSettings)[];
protected createRouter(conf: SwaggerSettings): import("@tsed/platform-router").PlatformRouter;
protected getUrls(): any[];
}
readonly name
ts
readonly name = "Swagger";
readonly rootDir
ts
readonly rootDir: string;
get settings
ts
get settings(): ({
disableSpec: boolean;
path: string;
fileName: string;
cssPath: string;
viewPath: string;
} & SwaggerSettings)[];
protected createRouter
ts
protected createRouter(conf: SwaggerSettings): import("@tsed/platform-router").PlatformRouter;
protected getUrls
ts
protected getUrls(): any[];