Skip to content

Summary

@tsed/schema

Usage

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

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

Overview

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

Description

Add summary metadata on the decorated element.

Examples

On method

typescript
class Model {
   @Summary("summary")
   id: string;
}

Released under the MIT License.