Skip to content

Commit

Permalink
docs(user-routes): update documentation of user routes
Browse files Browse the repository at this point in the history
Refs #94
  • Loading branch information
samuelncaetano committed Feb 13, 2025
1 parent 8771cd7 commit 99672a8
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions backend/src/main/routes/user/userRoutes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@ userRoutes.post("/user/login", loginUser);
* get:
* summary: Get protected user data
* tags: [Users]
* security:
* - bearerAuth: []
* responses:
* 200:
* description: Protected user data retrieved successfully
Expand All @@ -99,8 +97,6 @@ userRoutes.get("/user/protected", authMiddleware, authUser);
* patch:
* summary: Update a user
* tags: [Users]
* security:
* - bearerAuth: []
* requestBody:
* required: true
* content:
Expand Down Expand Up @@ -134,8 +130,6 @@ userRoutes.patch("/user/update", authMiddleware, updateUser);
* delete:
* summary: Delete a user
* tags: [Users]
* security:
* - bearerAuth: []
* responses:
* 200:
* description: User deleted successfully
Expand Down

0 comments on commit 99672a8

Please sign in to comment.