# EndpointConstructorOptions Interface

Module
import { EndpointConstructorOptions } from "@tsed/common"
Source/packages/common/src/mvc/models/EndpointMetadata.ts

# Overview

interface EndpointConstructorOptions {
    target: Type<any>;
    propertyKey: string | symbol;
    beforeMiddlewares?: any[];
    middlewares?: any[];
    afterMiddlewares?: any[];
    pathsMethods?: IPathMethod[];
    type?: any;
    parent?: EndpointMetadata;
    responses?: Map<number, IResponseOptions>;
    statusCode?: number;
}

# Members

target: Type<any>

propertyKey: string | symbol

beforeMiddlewares?: any[]

middlewares?: any[]

afterMiddlewares?: any[]

pathsMethods?: IPathMethod[]

type?: any


responses?: Map<number, IResponseOptions>

statusCode?: number