I have a field with validation pattern like this
@Pattern(regexp = "^$|^[0-9]{12}$")
private String inn;
When I generate the documentation for request-fields with ConstrainedFields I have this output:
|inn
|String
|ИНН
|Must match the regular expression '^$|^[0-9]{12}$'
As you can see there is '|' symbol which breaks the layout from this
ext.springRestDocsVersion = '1.1.0.RC1'