mirror of
https://github.com/Kong/insomnia.git
synced 2026-10-25 16:19:20 -04:00
Exclude x- properties under a path
This commit is contained in:
1 parent
28e7d928a8
commit
751dd0f86a
1 file changed
+1
-1
@@ -131,7 +131,7 @@ function parseEndpoints(document) {
|
||||
const methods = Object.keys(schemasPerMethod);
|
||||
|
||||
return methods
|
||||
.filter(method => method !== 'parameters')
|
||||
.filter(method => method !== 'parameters' && method.indexOf('x-') !== 0)
|
||||
.map(method => Object.assign({}, schemasPerMethod[method], { path, method }));
|
||||
})
|
||||
.reduce(
|
||||
|
||||
Reference in new issue
Block a user