# Example Decorator swagger schema methodDecorator classDecorator

Module
import { Example } from "@tsed/common"
Source/packages/common/src/jsonschema/decorators/example.ts

# Overview

function Example(example: any): Function;
export function Example(name: string | any, description: string): ClassDecorator;

# Description

Add a example metadata on the decorated element.