Skip to content

Phone numbers available in the data do not match the pattern validation required for new records #68

@hanastasov

Description

@hanastasov

Get the ALFKI customer:

{
"customerId": "ALFKI",
"companyName": "Alfreds Futterkiste",
"contactName": "Maria Anders",
"contactTitle": "Sales Representative",
"address": {
"street": "Obere Str. 57",
"city": "Berlin",
"region": "",
"postalCode": "12209",
"country": "Germany",
"phone": "(171) 555-7788"
}
}

Try to update the ALFKI customer by posting the same data:

Image

Change phone numbers available in the data so that they comply with the validation pattern set:

phone | string
pattern: ^+?[1-9]\d{1,14}$
nullable: true

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions