Skip to content

Commit 56919cc

Browse files
committed
Fix typos in Swagger documentation
1 parent 386da0e commit 56919cc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/api/controllers/projectController.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ def update_project_link(project_id, link_id):
287287
description: Project link updated successfully
288288
400:
289289
description: Failed to update project link
290-
404
290+
404:
291291
description: Project link not found
292292
"""
293293
if 'project_id' in request.get_json():

src/api/controllers/userController.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def update_user(id):
111111
description: User updated successfully
112112
400:
113113
description: Failed to update user
114-
404
114+
404:
115115
description: User not found
116116
"""
117117
if 'id' in request.get_json():
@@ -300,7 +300,7 @@ def update_user_link(user_id, link_id):
300300
description: User link updated successfully
301301
400:
302302
description: Failed to update user link
303-
404
303+
404:
304304
description: User link not found
305305
"""
306306
if 'user_id' in request.get_json():

0 commit comments

Comments
 (0)