forked from loafle/openapi-generator-original
6 lines
216 B
TypeScript
6 lines
216 B
TypeScript
import {RequestContext, ResponseContext} from './http/http';
|
|
|
|
export interface Middleware {
|
|
pre?(context: RequestContext): Promise<RequestContext>;
|
|
post?(context: ResponseContext): Promise<ResponseContext>;
|
|
} |