# Summary Decorator swagger schema operation

Module
import { Summary } from "@tsed/schema"
Source/packages/schema/src/decorators/operations/summary.ts

# Overview

function Summary(summary: string): (...args: any[]) => any;

# Description

Add summary metadata on the decorated element.

# Examples

# On method

class Model {
   @Summary("summary")
   id: string;
}
1
2
3
4

Other topics