From 19e5836b97e7e5d75811086a91600de20cc5d3fc Mon Sep 17 00:00:00 2001 From: heystone999 <52831724+heystone999@users.noreply.github.com> Date: Thu, 14 Mar 2024 14:21:36 -0400 Subject: [PATCH] docs: update users router documentation for login, add response body --- memo-backend/users_routes_documentation.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/memo-backend/users_routes_documentation.md b/memo-backend/users_routes_documentation.md index 5944e570..78290524 100644 --- a/memo-backend/users_routes_documentation.md +++ b/memo-backend/users_routes_documentation.md @@ -15,6 +15,9 @@ - **Status**: 201 Created - **Body**: - `message`: String - Confirmation message. + - `username`: String - The username of the user. + - `email`: String - The email address of the user. + - `id`: String - userId. ## Login @@ -30,4 +33,7 @@ - **Status**: 200 OK - **Body**: - `message`: String - Confirmation message. - - `token`: String - JWT token for authentication. \ No newline at end of file + - `token`: String - JWT token for authentication. + - `username`: String - The username of the user. + - `email`: String - The email address of the user. + - `id`: String - userId. \ No newline at end of file