nralcm
Version:
This is a framework based on NodeJs to manage rest api request lifecycle
23 lines (22 loc) • 462 B
TypeScript
import { HttpMethod } from "../enums";
/**
* Model to store meta data of controller's api methods in meta data of controller object
*/
export interface RouteDescriptor {
/**
* Route string of api method
*/
route: string;
/**
* PropertyDescriptor of api method
*/
descriptor: PropertyDescriptor;
/**
* Name of api Method
*/
methodName: string;
/**
* Rest Verb
*/
httpMethod: HttpMethod;
}