Skip to content

OS2FormDataParameter

@tsed/openspec

Usage

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

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

Overview

ts
type OS2FormDataParameter = OS2BaseFormatContrainedParameter & OS2BaseSchema & {
    in: "formData";
    type: OpenSpecTypes;
    allowEmptyValue?: boolean;
    collectionFormat?: ParameterCollectionFormat;
};

in

ts
in: "formData";

type

ts
type: OpenSpecTypes;

allowEmptyValue

ts
allowEmptyValue?: boolean;

collectionFormat

ts
collectionFormat?: ParameterCollectionFormat;

Released under the MIT License.