code: function expressGetHandler(endpoint) {
    return function(req, res) {
      // We have to handle request parameters differently since they're not in the
      // request body.
      rpc.getMethod(endpoint.name)({request: req.params}, function(err, doc) {
        res.send(doc);
        res.end();
      });
    };
  }
docs: Returns a callback that will be sent to the controller function when a GET endpoint is requested.