Case
PathComponent.partialParameter(template:components:parameters:)
A partial parameter component.
case partialParameter(template: String, components: [Substring], parameters: [Substring])
Discussion
The template is the original string representation of the partial parameter. The components are the constant parts of the partial parameter. The parameters are the dynamic parts of the partial parameter.
For example, the path component :user-{id}-details would be represented as partialParameter(template: ":user-{id}-details", components: ["user-", "-details"], parameters: ["id"]).