Skip to content

OS2BaseSchema

@tsed/openspec

Usage

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

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

Overview

ts
interface OS2BaseSchema extends OpenSpecBaseJsonSchema {
    items?: OS2Schema | OpenSpecRef;
}

items

ts
items?: OS2Schema | OpenSpecRef;

Required if type is "array". Describes the type of items in the array.

Released under the MIT License.