Skip to content

OS2BaseParameter

@tsed/openspec

Usage

typescript
import { OS2BaseParameter } from "@tsed/specs/openspec/src/types/openspec2/OS2Parameter";

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

Overview

ts
type OS2BaseParameter = {
    name: string;
    in: "body" | "query" | "path" | "header" | "formData";
    required?: boolean;
    description?: string;
};

name

ts
name: string;

in

ts
in: "body" | "query" | "path" | "header" | "formData";

required

ts
required?: boolean;

description

ts
description?: string;

Released under the MIT License.