code: public PactDslRequestWithPath matchPath(String pathRegex, String path) {
          requestMatchers.addCategory("path").addRule(new RegexMatcher(pathRegex));
          this.path = path;
          return this;
      }
docs: The path of the request
  
  @param path      string path to use when generating requests
  @param pathRegex regular expression to use to match paths