docs: function convertPaths(path) {
    var pathTemplate = new URITemplate(path).parse(), // must call parse to populate parts
      expressPath = '';
  
    _.forEach(pathTemplate.parts, function (part) {
      switch (typeof part) {
        case 'string':
          if (part.length > 0) {
            expressPath += part;
          }
          break;
        case 'object':
          if (part.expression.length > 0 && part.expression.match(PATH_REGEX)) {
            expressPath += ':' + _.first(part.variables).name;
          }
          break;
        default:
        // TODO throw error
      }
    });
  
    return expressPath;
  }