ANAPI-12: Fix broken regexp (#26)

This commit is contained in:
ndiezel0 2020-03-19 16:23:53 +03:00 committed by GitHub
parent 95dbdc2c7c
commit 01266444c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@ properties:
bin:
description: BIN банка-эмитента карты
type: string
pattern: '^\d{0,6,8}$'
pattern: '^(\d{0}|\d{6,8})$'
lastDigits:
description: Последние цифры номера карты
type: string