The mechanism for comparing endpoints was assuming that the API version would always be a single digit with a length of 1. This is no longer a valid assumption when dealing with dot versioned endpoints, such as "3.1" which has a character length of 3. This issue is resolved by splitting on / instead.
The mechanism for comparing endpoints was assuming that the API version would always be a single digit with a length of 1. This is no longer a valid assumption when dealing with dot versioned endpoints, such as "3.1" which has a character length of 3. This issue is resolved by splitting on
/
instead.