We have a Full Web Service rule in place to include the contextroot inside the service signature. However there are multiple web-services with a different path depth. Some context-roots have only one segment, other two and some of them even three.
When we state: "segmentsToCopyFromUrlPath": 3, the full path is taken as contextroot for the services with only one or two sections.
I think an option should be available to just remove the last part of the URI which represents the service itself.