Skip to content

SpecTypes

@tsed/schema

Usage

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

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

Overview

ts
enum SpecTypes {
    JSON = "jsonschema",
    SWAGGER = "swagger2",
    OPENAPI = "openapi3",
    ASYNCAPI = "asyncapi2"
}

JSON

ts
JSON = "jsonschema",

SWAGGER

ts
SWAGGER = "swagger2",

OPENAPI

ts
OPENAPI = "openapi3",

ASYNCAPI

ts
ASYNCAPI = "asyncapi2"

Released under the MIT License.