Skip to content

OS3Header

@tsed/openspec

Usage

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

See /packages/specs/openspec/src/types/openspec3/OS3Header.ts.

Overview

ts
interface OS3Header<Schema = OS3Schema> {
    description?: string;
    schema?: Schema | OpenSpecRef;
    externalDocs?: OpenSpecExternalDocs;
}

description

ts
description?: string;

A description of the header. CommonMark syntax MAY be used for rich text representation.

schema

ts
schema?: Schema | OpenSpecRef;

The schema defining the type used for the header.

externalDocs

ts
externalDocs?: OpenSpecExternalDocs;

Additional external documentation for this tag.

Released under the MIT License.