# IResponseOptions Interface

Module
import { IResponseOptions } from "@tsed/common"
Source/packages/common/src/mvc/interfaces/IResponseOptions.ts

# Overview

interface IResponseOptions {
    use?: Type<any>;
    type?: Type<any>;
    collection?: Type<any>;
    collectionType?: Type<any>;
    description?: string;
    examples?: {
        [exampleName: string]: string;
    };
    headers?: IResponseHeaders;
}

# Members

use?: Type<any>

Use IResponseOptions.type instead of


type?: Type<any>

collection?: Type<any>

Use IResponseOptions.collectionType instead of


collectionType?: Type<any>

description?: string

examples?: {
     [exampleName: string]: string;
 };