Skip to content

SwaggerSettings

@tsed/swagger

Usage

typescript
import { SwaggerSettings } from "@tsed/specs/swagger/src/types/interfaces/SwaggerSettings";

See /packages/specs/swagger/src/types/interfaces/SwaggerSettings.ts.

Overview

ts
type SwaggerSettings = OpenApiSettings & {
    showExplorer?: boolean;
    options?: SwaggerUIOptions;
};

showExplorer

ts
showExplorer?: boolean;

options

ts
options?: SwaggerUIOptions;

SwaggerUI options. See (https://github.com/swagger-api/swagger-ui/blob/HEAD/docs/usage/configuration.md)

Released under the MIT License.