code: function getAllPathParamNames () {
      let params = [];
  
      function addParam (param) {
        if (param.in === "path") {
          params.push(param.name);
        }
      }
  
      if (context.api) {
        _.each(context.api.paths, (path) => {
          // Add each path parameter
          _.each(path.parameters, addParam);
  
          // Add each operation parameter
          _.each(path, (operation) => {
            _.each(operation.parameters, addParam);
          });
        });
      }
  
      return _.uniq(params);
    }
docs: Returns the unique names of all path params in the Swagger API.
  
  @returns {string[]}