the basePath check doesn't allow to have an empty string so it ill be set to the default value of basePath
Instead of
if (basePath) {
this.basePath = basePath;
}
it should be:
if (basePath !== null) {
this.basePath = basePath;
}
latest
@PG2000 thanks for reporting the issue. Please file a PR with updated Petstore sample so that we can review the fix more easily.
@wing328: I've updated the Petstore example
@wing328 Can i do something more to get this done?
In case this helps someone else, I just faced the same issue, and a workaround is assigning basePath injected variable to ' ' (mind the whitespace).
Most helpful comment
@wing328 Can i do something more to get this done?