Skip to content

Commit

Permalink
fix all perterns
Browse files Browse the repository at this point in the history
  • Loading branch information
folland87 committed Mar 28, 2024
1 parent 0682c9a commit c52d020
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/src/openapi/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit c52d020

Please sign in to comment.