mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-10 19:06:34 +03:00
parent
2f75aa3aed
commit
70d1ee9edd
|
@ -883,12 +883,12 @@ components:
|
|||
as well as digits
|
||||
format: password
|
||||
minLength: 8
|
||||
pattern: '(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])'
|
||||
pattern: '/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])/'
|
||||
example: drowssaP123
|
||||
phone:
|
||||
description: User phone number in international format
|
||||
type: string
|
||||
pattern: '^\+(?:[0-9]-?){6,14}[0-9]$'
|
||||
pattern: '/^\+(?:[0-9]-?){6,14}[0-9]$/'
|
||||
example: +1-202-555-0192
|
||||
nullable: true
|
||||
userStatus:
|
||||
|
|
|
@ -61,14 +61,6 @@ export const PatternLabel = styled(FieldLabel)`
|
|||
&::after {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
&::before {
|
||||
content: ' /';
|
||||
}
|
||||
|
||||
&::after {
|
||||
content: '/ ';
|
||||
}
|
||||
`;
|
||||
|
||||
export const ExampleValue = styled(FieldLabel)`
|
||||
|
|
Loading…
Reference in New Issue
Block a user