# Summary Decorator

Module
import { Summary } from "@tsed/swagger/src/decorators/summary"
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