Skip to content

OS2SecurityBase

@tsed/openspec

Usage

typescript
import { OS2SecurityBase } from "@tsed/openspec";

See /packages/specs/openspec/src/types/openspec2/OS2Security.ts.

Overview

ts
interface OS2SecurityBase {
    type: "basic" | "apiKey" | "oauth2";
    description?: string;
}

type

ts
type: "basic" | "apiKey" | "oauth2";

The type of the security scheme

description

ts
description?: string;

Released under the MIT License.