mirror of
https://github.com/postmanlabs/openapi-to-postman.git
synced 2022-11-29 22:05:00 +03:00
Updated description of the node's childCount property
The childCount stores the number of direct descendants, not just folders. Also, the number of folders in the entire sub-tree is not relevant
This commit is contained in:
@@ -15,7 +15,7 @@ function Node (options) {
|
||||
// stores all direct folder descendants of this node
|
||||
this.children = {};
|
||||
|
||||
// number of folders in the sub-trie of this node
|
||||
// number of direct descendants (folders / requests) of this node
|
||||
this.childCount = 0;
|
||||
|
||||
this.requests = []; // request will always be an array of objects
|
||||
|
||||
Reference in New Issue
Block a user