Skip to content

OperationPath

@tsed/schema

Usage

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

See /packages/specs/schema/src/types/decorators/operations/operationPath.ts.

Overview

ts
function OperationPath(method: OperationVerbs | string, path?: string | RegExp): (...args: any[]) => any;

Description

Declare new Operation with his path and http method.

WARNING

Don't use decorator with Ts.ED application.

Use theses decorators instead:

Loading in progress...

Released under the MIT License.