# Summary Decorator swagger schema operation
Module | import { Summary } from "@tsed/swagger" |
---|---|
Source | /packages/swagger/src/decorators/summary.ts |
# Overview
function Summary(summary: string): Function;
# Description
Add summary metadata on the decorated element.
# Examples
# On method
class Model {
@Summary("summary")
id: string;
}
1
2
3
4
2
3
4
- Session & cookies
- Passport.js
- TypeORM
- Mongoose
- GraphQL
- Socket.io
- Swagger
- AJV
- Multer
- Serve static files
- Templating
- Throw HTTP Exceptions
- Customize 404
- AWS
- Jest
- Seq
- Controllers
- Providers
- Model
- Converters
- Middlewares
- Pipes
- Interceptors
- Authentication
- Hooks
- Injection scopes
- Custom providers
- Custom endpoint decorator
- Testing