Skip to content

Commit 746aacf

Browse files
committed
feat(api): add support for PBX to phone number regex
1 parent 9c511d0 commit 746aacf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2951,7 +2951,7 @@ components:
29512951
number:
29522952
type: string
29532953
minLength: 3
2954-
pattern: '^\+(?:\d+(?: |\-)?)+\d+$'
2954+
pattern: '^\+(?:\d+(?: |\-)?)+\d+(?:\s*[Ee][Xx][Tt]\.\s*\d+)?$'
29552955
description: The normalized phone number in E.123 international notation
29562956
conforming with local conventions on the use of spaces and hyphens as
29572957
separators.

0 commit comments

Comments
 (0)