Skip to content

Commit

Permalink
Automated deployment: Fri Jul 5 07:08:08 UTC 2024 fb46bb9
Browse files Browse the repository at this point in the history
  • Loading branch information
Saranya-jena committed Jul 5, 2024
1 parent e557cfc commit 032d085
Show file tree
Hide file tree
Showing 3 changed files with 150 additions and 114 deletions.
58 changes: 47 additions & 11 deletions auth/v3.9.0/auth-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -412,19 +412,21 @@
"operationId": "updatePassword",
"responses": {
"200": {
"description": "OK",
"examples": {
"application/json": {
"message": "password has been reset"
"description": "OK",
"schema": {
"$ref": "#/definitions/response.MessageResponse"
}
},
},
"400": {
"description": "Bad Request",
"schema": {
"type": "object",
"properties": {
"message": {
"type": "string"
}
}
"$ref": "#/definitions/response.ErrOldPassword"
}
},
"401": {
"description": "Unauthorized",
"schema": {
"$ref": "#/definitions/response.ErrInvalidCredentials"
}
}
},
Expand Down Expand Up @@ -1832,6 +1834,40 @@
}
}
]
},
"response.MessageResponse": {
"type": "object",
"properties": {
"message": {
"type": "string"
}
}
},
"response.ErrOldPassword": {
"type": "object",
"properties": {
"error": {
"type": "string",
"example": "The old and new passwords can't be same"
},
"errorDescription": {
"type": "string",
"example": "The old and new passwords can't be same"
}
}
},
"response.ErrInvalidCredentials": {
"type": "object",
"properties": {
"error": {
"type": "string",
"example": "The old and new passwords can't be same"
},
"errorDescription": {
"type": "string",
"example": "The old and new passwords can't be same"
}
}
}
}
}
Loading

0 comments on commit 032d085

Please sign in to comment.