@jeaks03/overseer
Version:
Just another TypeScript Back-End framework
12 lines (11 loc) • 381 B
TypeScript
import { Class } from "../misc/custom-types";
import { Guard } from "../security/guards/guard";
export declare class WayDetails {
static defaults(details: WayDetails): WayDetails;
path?: string;
method?: 'get' | 'post' | 'put' | 'patch' | 'delete' | 'head';
statusCode?: number;
produces?: string[];
consumes?: string[];
guards?: Array<Class<Guard>>;
}