Page Contents
Home > @loopback/rest > toExpressPath
toExpressPath() function
Convert an OpenAPI path to Express (path-to-regexp) style
Signature:
export declare function toExpressPath(path: string): string;
Parameters
| Parameter | Type | Description |
|---|---|---|
|
path |
string |
OpenAPI path with optional variables as |
Returns:
string