diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-04-21 12:38:59 +0300 |
|---|---|---|
| committer | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-04-21 23:57:49 +0300 |
| commit | 568e77f6d9c5d5a34879901f12ee189ade218c7d (patch) | |
| tree | 3681088bd479d8bc5657179f95caf6b7824acc94 /backend/controllers/recordController.go | |
| parent | doc: readme (diff) | |
| download | lphub-568e77f6d9c5d5a34879901f12ee189ade218c7d.tar.gz lphub-568e77f6d9c5d5a34879901f12ee189ade218c7d.tar.bz2 lphub-568e77f6d9c5d5a34879901f12ee189ade218c7d.zip | |
doc: added tags
Diffstat (limited to 'backend/controllers/recordController.go')
| -rw-r--r-- | backend/controllers/recordController.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/backend/controllers/recordController.go b/backend/controllers/recordController.go index 3e64e14..3b4bdc7 100644 --- a/backend/controllers/recordController.go +++ b/backend/controllers/recordController.go | |||
| @@ -21,6 +21,7 @@ import ( | |||
| 21 | // POST Record | 21 | // POST Record |
| 22 | // | 22 | // |
| 23 | // @Summary Post record with demo of a specific map. | 23 | // @Summary Post record with demo of a specific map. |
| 24 | // @Tags maps | ||
| 24 | // @Accept mpfd | 25 | // @Accept mpfd |
| 25 | // @Produce json | 26 | // @Produce json |
| 26 | // @Param Authorization header string true "JWT Token" | 27 | // @Param Authorization header string true "JWT Token" |
| @@ -194,6 +195,7 @@ func CreateRecordWithDemo(c *gin.Context) { | |||
| 194 | // GET Demo | 195 | // GET Demo |
| 195 | // | 196 | // |
| 196 | // @Summary Get demo with specified demo uuid. | 197 | // @Summary Get demo with specified demo uuid. |
| 198 | // @Tags demo | ||
| 197 | // @Accept json | 199 | // @Accept json |
| 198 | // @Produce octet-stream | 200 | // @Produce octet-stream |
| 199 | // @Param uuid path int true "Demo UUID" | 201 | // @Param uuid path int true "Demo UUID" |