currently, when there's an ambiguous matching ( /pets/{petId}, /pets/mine), it will pick the whatever defined first.
it should be changed to: https://github.com/OAI/OpenAPI-Specification/pull/1204/files#diff-1debd3484dc5eb5a5bdc88f23a954a2b4bf059daa53048fe80162f8ef4574ce8R635