diff --git a/server/src/openapi/api.yml b/server/src/openapi/api.yml index 6eb7e32..b18a1b2 100644 --- a/server/src/openapi/api.yml +++ b/server/src/openapi/api.yml @@ -711,10 +711,10 @@ paths: properties: newPassword: type: string - pattern: '^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*#?&:_])[A-Za-z\d@$!%*#?&:_]{8,}$' + pattern: '^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*#?&:_.])[A-Za-z\d@$!%*#?&:_.]{8,}$' currentPassword: type: string - pattern: '^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*#?&:_])[A-Za-z\d@$!%*#?&:_]{8,}$' + pattern: '^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*#?&:_.])[A-Za-z\d@$!%*#?&:_.]{8,}$' responses: 200: description: Success @@ -959,7 +959,7 @@ components: properties: password: type: string - pattern: '^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*#?&:_])[A-Za-z\d@$!%*#?&:_]{8,}$' + pattern: '^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*#?&:_.])[A-Za-z\d@$!%*#?&:_.]{8,}$' example: Azertyui!87 description: Minimum eight characters, at least one letter, one number and one special character email: