mirror of
https://github.com/postmanlabs/openapi-to-postman.git
synced 2022-11-29 22:05:00 +03:00
Handling missing body properties
This commit is contained in:
@@ -15,7 +15,7 @@ function Node (options) {
|
||||
// stores all direct folder descendants of this node
|
||||
this.children = {};
|
||||
|
||||
this.requests = options ? options.requests : []; // request will be an array of objects
|
||||
this.requests = []; // request will always be an array of objects
|
||||
|
||||
this.addChildren = function (child, value) {
|
||||
this.children[child] = value;
|
||||
|
||||
Reference in New Issue
Block a user