Skip to content

JsonParameterTypes

@tsed/schema

Usage

typescript
import { JsonParameterTypes } from "@tsed/schema";

See /packages/specs/schema/src/types/domain/JsonParameterTypes.ts.

Overview

ts
enum JsonParameterTypes {
    BODY = "body",
    PATH = "path",
    QUERY = "query",
    HEADER = "header",
    COOKIES = "cookie",
    FILES = "files"
}

BODY

ts
BODY = "body",

PATH

ts
PATH = "path",

QUERY

ts
QUERY = "query",
ts
HEADER = "header",

COOKIES

ts
COOKIES = "cookie",

FILES

ts
FILES = "files"

Released under the MIT License.