Skip to content

SwaggerOS2Settings

@tsed/swagger

Usage

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

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

Overview

ts
interface SwaggerOS2Settings extends SwaggerSettingsBase {
    specVersion?: OS2Versions;
    spec?: Partial<OpenSpec2>;
}

specVersion

ts
specVersion?: OS2Versions;

spec

ts
spec?: Partial<OpenSpec2>;

OpenSpec 2

Released under the MIT License.