(tag: string)
| 164 | } |
| 165 | |
| 166 | const tagToPath = (tag: string): string => |
| 167 | tag |
| 168 | // .replace(/[^a-zA-Z0-9]+/g, "-") // Replace non-alphanumeric characters with hyphen |
| 169 | // .replace(/([a-z])([A-Z])/g, "$1-$2") // Insert hyphen before uppercase letters |
| 170 | .toLowerCase() |
| 171 | |
| 172 | /** |
| 173 | * Maps each workflow to the HTTP API endpoints generated for execute, |