Exclude x- properties under a path

This commit is contained in:
Opender Singh 2020-04-27 18:02:33 +12:00
parent 28e7d928a8
commit 751dd0f86a

View File

@ -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(