diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-12-22 12:22:14 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-22 12:22:14 +0300 |
| commit | 7f56ba240f71c1f6800d1d51ba278b8d5a968ab3 (patch) | |
| tree | f19a3febf0be9111584d601b5adf254e1df2c9de /backend/handlers/mod.go | |
| parent | fix: set db connection limits (#140) (diff) | |
| download | lphub-7f56ba240f71c1f6800d1d51ba278b8d5a968ab3.tar.gz lphub-7f56ba240f71c1f6800d1d51ba278b8d5a968ab3.tar.bz2 lphub-7f56ba240f71c1f6800d1d51ba278b8d5a968ab3.zip | |
fix: discussions logic cleanup, docs title changes (#142)
Diffstat (limited to '')
| -rw-r--r-- | backend/handlers/mod.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/backend/handlers/mod.go b/backend/handlers/mod.go index 845152f..3709e1d 100644 --- a/backend/handlers/mod.go +++ b/backend/handlers/mod.go | |||
| @@ -40,7 +40,7 @@ type EditMapImageRequest struct { | |||
| 40 | // POST Map Summary | 40 | // POST Map Summary |
| 41 | // | 41 | // |
| 42 | // @Description Create map summary with specified map id. | 42 | // @Description Create map summary with specified map id. |
| 43 | // @Tags maps | 43 | // @Tags maps / summary |
| 44 | // @Produce json | 44 | // @Produce json |
| 45 | // @Param Authorization header string true "JWT Token" | 45 | // @Param Authorization header string true "JWT Token" |
| 46 | // @Param mapid path int true "Map ID" | 46 | // @Param mapid path int true "Map ID" |
| @@ -124,7 +124,7 @@ func CreateMapSummary(c *gin.Context) { | |||
| 124 | // PUT Map Summary | 124 | // PUT Map Summary |
| 125 | // | 125 | // |
| 126 | // @Description Edit map summary with specified map id. | 126 | // @Description Edit map summary with specified map id. |
| 127 | // @Tags maps | 127 | // @Tags maps / summary |
| 128 | // @Produce json | 128 | // @Produce json |
| 129 | // @Param Authorization header string true "JWT Token" | 129 | // @Param Authorization header string true "JWT Token" |
| 130 | // @Param mapid path int true "Map ID" | 130 | // @Param mapid path int true "Map ID" |
| @@ -209,7 +209,7 @@ func EditMapSummary(c *gin.Context) { | |||
| 209 | // DELETE Map Summary | 209 | // DELETE Map Summary |
| 210 | // | 210 | // |
| 211 | // @Description Delete map summary with specified map id. | 211 | // @Description Delete map summary with specified map id. |
| 212 | // @Tags maps | 212 | // @Tags maps / summary |
| 213 | // @Produce json | 213 | // @Produce json |
| 214 | // @Param Authorization header string true "JWT Token" | 214 | // @Param Authorization header string true "JWT Token" |
| 215 | // @Param mapid path int true "Map ID" | 215 | // @Param mapid path int true "Map ID" |
| @@ -298,7 +298,7 @@ func DeleteMapSummary(c *gin.Context) { | |||
| 298 | // PUT Map Image | 298 | // PUT Map Image |
| 299 | // | 299 | // |
| 300 | // @Description Edit map image with specified map id. | 300 | // @Description Edit map image with specified map id. |
| 301 | // @Tags maps | 301 | // @Tags maps / summary |
| 302 | // @Produce json | 302 | // @Produce json |
| 303 | // @Param Authorization header string true "JWT Token" | 303 | // @Param Authorization header string true "JWT Token" |
| 304 | // @Param mapid path int true "Map ID" | 304 | // @Param mapid path int true "Map ID" |