diff options
Diffstat (limited to 'backend/controllers/modController.go')
| -rw-r--r-- | backend/controllers/modController.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/backend/controllers/modController.go b/backend/controllers/modController.go index ebf1cb7..9d14f92 100644 --- a/backend/controllers/modController.go +++ b/backend/controllers/modController.go | |||
| @@ -14,9 +14,10 @@ import ( | |||
| 14 | // @Summary Edit map summary with specified map id. | 14 | // @Summary Edit map summary with specified map id. |
| 15 | // @Tags maps | 15 | // @Tags maps |
| 16 | // @Produce json | 16 | // @Produce json |
| 17 | // @Param id path int true "Map ID" | 17 | // @Param id path int true "Map ID" |
| 18 | // @Success 200 {object} models.Response{data=models.EditMapSummaryRequest} | 18 | // @Param request body models.EditMapSummaryRequest true "Body" |
| 19 | // @Failure 400 {object} models.Response | 19 | // @Success 200 {object} models.Response{data=models.EditMapSummaryRequest} |
| 20 | // @Failure 400 {object} models.Response | ||
| 20 | // @Router /maps/{id}/summary [put] | 21 | // @Router /maps/{id}/summary [put] |
| 21 | func EditMapSummary(c *gin.Context) { | 22 | func EditMapSummary(c *gin.Context) { |
| 22 | // Check if user exists | 23 | // Check if user exists |