# Decorator OperationPath
Decorator swagger schema operationModule | import { OperationPath } from "@tsed/schema" |
---|---|
Source | /packages/schema/src/decorators/operations/operationPath.ts |
# Overview
function OperationPath(method: OperationMethods | string, path?: string | RegExp): (...args: any[]) => any;
# Description
Declare new Operation with his path and http method.
Other topics
- Session & cookies
- Passport.js
- TypeORM
- Mongoose
- GraphQL
- Socket.io
- Swagger
- AJV
- Multer
- Serve static files
- Templating
- Throw HTTP Exceptions
- Customize 404
- AWS
- Seq
- OIDC
- Stripe
- Controllers
- Providers
- Model
- JsonMapper
- Middlewares
- Pipes
- Interceptors
- Authentication
- Hooks
- Exceptions
- Hooks
- Response Filter
- Injection scopes
- Custom providers
- Custom endpoint decorator
- Testing