Skip to content

Provide a mechanism to escape characters that break Asciidoctor and Markdown formatting #232

@varpa89

Description

@varpa89

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: enhancementEnhancement that adds a new feature

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions