(path: HTTPPath)
| 8 | * @internal |
| 9 | */ |
| 10 | export function toRou3Pattern(path: HTTPPath): string { |
| 11 | return standardizeHTTPPath(path).replace(/\/\{\+([^}]+)\}/g, '/**:$1').replace(/\/\{([^}]+)\}/g, '/:$1') |
| 12 | } |
| 13 | |
| 14 | /** |
| 15 | * @internal |
no test coverage detected