In the ApiCenterOnboardingPlugin, when finding matching paths, we assume, that the API is served from the root. That's obviously incorrect and leads to the plugin being unable to match paths when APIs are served from a path (eg. server URL https://api.contoso.com/v1.0). We need to update the logic, so that before we compare the path from the request with the path from the spec, we check if the request URL contains any path and remove it.
In the ApiCenterOnboardingPlugin, when finding matching paths, we assume, that the API is served from the root. That's obviously incorrect and leads to the plugin being unable to match paths when APIs are served from a path (eg. server URL
https://api.contoso.com/v1.0
). We need to update the logic, so that before we compare the path from the request with the path from the spec, we check if the request URL contains any path and remove it.