aboutsummaryrefslogtreecommitdiff
path: root/backend/controllers/userController.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--backend/controllers/userController.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/backend/controllers/userController.go b/backend/controllers/userController.go
index 51c18d5..c86a739 100644
--- a/backend/controllers/userController.go
+++ b/backend/controllers/userController.go
@@ -14,6 +14,7 @@ import (
14// GET Profile 14// GET Profile
15// 15//
16// @Summary Get profile page of session user. 16// @Summary Get profile page of session user.
17// @Tags users
17// @Accept json 18// @Accept json
18// @Produce json 19// @Produce json
19// @Param Authorization header string true "JWT Token" 20// @Param Authorization header string true "JWT Token"
@@ -100,6 +101,7 @@ func Profile(c *gin.Context) {
100// GET User 101// GET User
101// 102//
102// @Summary Get profile page of another user. 103// @Summary Get profile page of another user.
104// @Tags users
103// @Accept json 105// @Accept json
104// @Produce json 106// @Produce json
105// @Param id path int true "User ID" 107// @Param id path int true "User ID"
@@ -201,6 +203,7 @@ func FetchUser(c *gin.Context) {
201// PUT Profile 203// PUT Profile
202// 204//
203// @Summary Update profile page of session user. 205// @Summary Update profile page of session user.
206// @Tags users
204// @Accept json 207// @Accept json
205// @Produce json 208// @Produce json
206// @Param Authorization header string true "JWT Token" 209// @Param Authorization header string true "JWT Token"
@@ -243,6 +246,7 @@ func UpdateUser(c *gin.Context) {
243// PUT Profile/CountryCode 246// PUT Profile/CountryCode
244// 247//
245// @Summary Update country code of session user. 248// @Summary Update country code of session user.
249// @Tags users
246// @Accept json 250// @Accept json
247// @Produce json 251// @Produce json
248// @Param Authorization header string true "JWT Token" 252// @Param Authorization header string true "JWT Token"