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