docs: public Endpoint addPathSegment(String segment) {
          Endpoint configured = new Endpoint(this);
          if (StringUtils.isNotBlank(segment)) {
              configured.path.add(segment);
          }
          return configured;
      }