in packages/rulesets/src/native/utilities/swagger-walker.ts [7:18]
private _walkOnDocuments(documents: any[], paths: string[], cb: WalkCallBack) {
for (const doc of documents) {
for (const path of paths) {
const results = nodes(doc[1], path)
if (results && results.length) {
for (const result of results) {
cb(result.path, result.value, doc[0], doc[1])
}
}
}
}
}