docs: function(model, name) {
                  if (!model.resource) {
                      return;
                  }
  
                  var resource = model.resource.replace(/\/+$/, "");
                  if (name === "findAll" || name === "create") {
                      return resource;
                  } else {
                      return resource + "/{" + model.id + "}";
                  }
              }