Skip to content

ScalarModule

@tsed/scalar

Usage

typescript
import { ScalarModule } from "@tsed/scalar";

See /packages/specs/scalar/src/types/ScalarModule.ts.

Overview

ts
class ScalarModule extends OpenAPIBaseModule {
    readonly name = "Scalar";
    readonly rootDir: string;
    get settings(): any[];
    protected createRouter(conf: ScalarSettings): import("@tsed/platform-router").PlatformRouter;
}

readonly name

ts
readonly name = "Scalar";

readonly rootDir

ts
readonly rootDir: string;

get settings

ts
get settings(): any[];

protected createRouter

ts
protected createRouter(conf: ScalarSettings): import("@tsed/platform-router").PlatformRouter;

Released under the MIT License.