public Swagger2MarkupConfigBuilder withResponseOrdering(OrderBy orderBy) {
        Validate.notNull(orderBy, "%s must not be null", "orderBy");
        Validate.isTrue(orderBy != OrderBy.CUSTOM, "You must provide a custom comparator if orderBy == OrderBy.CUSTOM");
        config.responseOrderBy = orderBy;
        return this;
    }
public Swagger2MarkupConfigBuilder withResponseOrdering ( OrderBy orderBy ) { Validate . notNull ( orderBy , "%s must not be null" , "orderBy" ) ; Validate . isTrue ( orderBy != OrderBy . CUSTOM , "You must provide a custom comparator if orderBy == OrderBy.CUSTOM" ) ; config . responseOrderBy = orderBy ; return this ; }
Specifies response ordering.<br>
By default response ordering == {@link io.github.swagger2markup.OrderBy#NATURAL}.<br>
Use {@link #withResponseOrdering(Comparator)} to set a custom ordering.

@param orderBy response ordering
@return this builder