UNPKG

581 BTypeScriptView Raw
1import { Context } from '@loopback/core';
2import { OperationObject } from '@loopback/openapi-v3';
3import { OperationArgs, OperationRetval } from '../types';
4import { BaseRoute } from './base-route';
5export declare class Route extends BaseRoute {
6 readonly spec: OperationObject;
7 protected readonly _handler: Function;
8 constructor(verb: string, path: string, spec: OperationObject, _handler: Function);
9 describe(): string;
10 updateBindings(requestContext: Context): void;
11 invokeHandler(requestContext: Context, args: OperationArgs): Promise<OperationRetval>;
12}