code: public Swagger2MarkupConfigBuilder withPathsGroupedBy(GroupBy pathsGroupedBy) {
          Validate.notNull(pathsGroupedBy, "%s must not be null", "pathsGroupedBy");
          config.pathsGroupedBy = pathsGroupedBy;
          return this;
      }
docs: Specifies if the paths should be grouped by tags or stay as-is.
  
  @param pathsGroupedBy the GroupBy enum
  @return this builder