Skip to content

JsonOperationOptions

@tsed/schema

Usage

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

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

Overview

ts
interface JsonOperationOptions extends OS3Operation<JsonSchema, JsonParameter, JsonMap<JsonResponse>> {
    consumes: string[];
    produces: string[];
}

consumes

ts
consumes: string[];

produces

ts
produces: string[];

Released under the MIT License.