Skip to content

Commit

Permalink
Merge pull request #278 from bammietop03/bamiwo-API-Doc
Browse files Browse the repository at this point in the history
docs(auth): Updated API documentation for forget and reset password
  • Loading branch information
incredible-phoenix246 authored Jul 24, 2024
2 parents 673b573 + 7c35be5 commit e40c5cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/controllers/AuthController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ const login = async (req: Request, res: Response, next: NextFunction) => {

/**
* @swagger
* /auth/forgot-password:
* /api/v1/auth/forgotPassword:
* post:
* summary: Request a password reset
* description: Allows a user to request a password reset link by providing their email address.
Expand Down Expand Up @@ -217,7 +217,7 @@ const forgotPassword = async (

/**
* @swagger
* /auth/reset-password:
* /api/v1/auth/resetPassword:
* post:
* summary: Reset a user's password
* description: Allows a user to reset their password by providing a valid reset token and a new password.
Expand Down

0 comments on commit e40c5cf

Please sign in to comment.