docs: function updateProjectAssignment(req, res, next) {
    var projectId = req.params.projectId;
    var username = req.params.username;
    var dataStore = req.app.dataStore;
  
    // Get the project REST resource - /projects/{projectId}
    var resource = new swagger.Resource('/projects', projectId, null);
    dataStore.get(resource, function(err, resource) {
      if (resource) {
        var members = resource.data.assigned;
        var currentlyAssigned = members.indexOf(username) >= 0;
  
        // Add/remove the employee
        if (req.method === 'PUT' && !currentlyAssigned) {
          members.push(username);
        }
        else if (req.method === 'DELETE' && currentlyAssigned) {
          members.splice(members.indexOf(username), 1);
        }
  
        // Save changes
        dataStore.save(resource, next);
      }
      else {
        // The project ID does not exist, so respond with an HTTP 404 (Not Found)
        res.sendStatus(404);
      }
    });
  }