allow whitespace and any printable characters, except digits

This commit is contained in:
Kehitt 2020-03-10 20:20:41 +03:00
parent fcfea1e8fd
commit 9340d0368f

View File

@ -22,6 +22,6 @@ allOf:
cardHolder:
description: Имя держателя карты
type: string
pattern: '^\D.+$'
pattern: '^[[:alpha:][:space:][:punct:]]+$'
minLength: 1
maxLength: 100