docs: function (response) {
                var swagger = response.obj;
                if (lock) {
                  delete lock[item.root];
                }
                if (self.resolverCache) {
                  self.resolverCache[item.root] = swagger;
                }
                self.resolveItem(swagger, item.root, resolutionTable, resolvedRefs, unresolvedRefs, item);
                processedCalls += 1;
  
                if (processedCalls === expectedCalls) {
                  self.finish(spec, _root, resolutionTable, resolvedRefs, unresolvedRefs, callback);
                }
              }