@scalar/api-client
Version:
the open source API testing client
11 lines • 358 B
TypeScript
type OperationContext = {
path: string;
method: string;
};
/**
* Returns an OperationContext if both path is provided and method is a valid HTTP method.
* Returns null otherwise.
*/
export declare const getOperationContext: (path?: string, method?: string) => OperationContext | null;
export {};
//# sourceMappingURL=get-operation-context.d.ts.map