mirror of
https://github.com/Kong/insomnia
synced 2024-11-07 22:30:15 +00:00
Exclude x- properties under a path
This commit is contained in:
parent
28e7d928a8
commit
751dd0f86a
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user