docs: function(resource) {
          var handler = resource.handler.getCallback(request.method);
  
          request.api.handler = handler;
          request.path = resource.path;
  
          var context = resource.handler.getContext();
          context.__espressojs = {
              chainIsComplete: chainIsComplete,
              // Reference to the currently processed handler
              handler: resource.handler,
  
              // Currently processed path
              path: resource.path
          };
  
          return context;
      }