[dd-admin] Fix email schemas in certain API endpoints
Dot character was not being properly escaped, we switch to using bracket expressions to avoid possible future issues.mejoras_instalacion
parent
d2fb24379a
commit
895a20abba
|
@ -26,7 +26,7 @@ name:
|
||||||
email:
|
email:
|
||||||
type: string
|
type: string
|
||||||
required: true
|
required: true
|
||||||
regex: ^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$
|
regex: ^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+[.][a-zA-Z0-9-.]+$
|
||||||
inbound_host:
|
inbound_host:
|
||||||
type: string
|
type: string
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -29,7 +29,7 @@ mails:
|
||||||
email:
|
email:
|
||||||
type: string
|
type: string
|
||||||
required: true
|
required: true
|
||||||
regex: ^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$
|
regex: ^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+[.][a-zA-Z0-9-.]+$
|
||||||
inbound_host:
|
inbound_host:
|
||||||
type: string
|
type: string
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -29,7 +29,7 @@ last:
|
||||||
email:
|
email:
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
regex: ^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$
|
regex: ^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+[.][a-zA-Z0-9-.]+$
|
||||||
password:
|
password:
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
|
|
|
@ -26,7 +26,7 @@ last:
|
||||||
email:
|
email:
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
regex: ^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$
|
regex: ^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+[.][a-zA-Z0-9-.]+$
|
||||||
password:
|
password:
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
|
Loading…
Reference in New Issue