We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99e7f66 commit 1bdac02Copy full SHA for 1bdac02
lib/schemaUtils.js
@@ -4453,7 +4453,6 @@ module.exports = {
4453
*/
4454
handleExplicitServersPathToMatch: function (pathToMatch, schemaPath) {
4455
let pathTMatchSlice,
4456
- fragment = '',
4457
schemaPathArr = _.reject(schemaPath.split('/'), (segment) => {
4458
return segment === '';
4459
}),
@@ -4466,7 +4465,7 @@ module.exports = {
4466
4465
return pathToMatch;
4467
}
4468
pathTMatchSlice = pathToMatchArr.slice(pathToMatchArr.length - schemaPathSegments, pathToMatchArr.length);
4469
- return pathTMatchSlice.join('/') + fragment;
+ return pathTMatchSlice.join('/');
4470
},
4471
4472
/**
0 commit comments