public Swagger2MarkupConfigBuilder withHeaderRegex ( String headerRegex ) { Validate . notNull ( headerRegex , "%s must not be null" , headerRegex ) ; config . headerPattern = Pattern . compile ( headerRegex ) ; return this ; }
Specifies the regex pattern to use for grouping paths .