Skip to content

SwaggerUIOptions

@tsed/swagger

Usage

typescript
import { SwaggerUIOptions } from "@tsed/swagger";

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

Overview

ts
interface SwaggerUIOptions {
    configUrl?: string;
    url?: string;
    urls?: {
        url: string;
        name: string;
        primaryName?: string;
    }[];
    layout?: string;
    validatorUrl?: string;
    oauth?: any;
    authorize?: any;
    [key: string]: any;
}

configUrl

ts
configUrl?: string;

url

ts
url?: string;

urls

ts
urls?: {
     url: string;
     name: string;
     primaryName?: string;
 }[];

layout

ts
layout?: string;

validatorUrl

ts
validatorUrl?: string;

oauth

ts
oauth?: any;

authorize

ts
authorize?: any;

[key: string]

ts
[key: string]: any;

Released under the MIT License.