diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-04-20 20:53:00 +0300 |
|---|---|---|
| committer | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-04-21 23:57:47 +0300 |
| commit | 4004ac9b925f6f9377533ce9ff349a5db681e7d4 (patch) | |
| tree | 21aeaf9998fe098dbb0b999b5b1ea965fe957bb5 /backend/controllers/recordController.go | |
| parent | fix: empty country code on user creation (#36) (diff) | |
| download | lphub-4004ac9b925f6f9377533ce9ff349a5db681e7d4.tar.gz lphub-4004ac9b925f6f9377533ce9ff349a5db681e7d4.tar.bz2 lphub-4004ac9b925f6f9377533ce9ff349a5db681e7d4.zip | |
doc: add auth header fields (#34)
Diffstat (limited to 'backend/controllers/recordController.go')
| -rw-r--r-- | backend/controllers/recordController.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/controllers/recordController.go b/backend/controllers/recordController.go index 27f39fc..3e64e14 100644 --- a/backend/controllers/recordController.go +++ b/backend/controllers/recordController.go | |||
| @@ -23,6 +23,7 @@ import ( | |||
| 23 | // @Summary Post record with demo of a specific map. | 23 | // @Summary Post record with demo of a specific map. |
| 24 | // @Accept mpfd | 24 | // @Accept mpfd |
| 25 | // @Produce json | 25 | // @Produce json |
| 26 | // @Param Authorization header string true "JWT Token" | ||
| 26 | // @Param demos formData []file true "Demos" | 27 | // @Param demos formData []file true "Demos" |
| 27 | // @Param score_count formData int true "Score Count" | 28 | // @Param score_count formData int true "Score Count" |
| 28 | // @Param score_time formData int true "Score Time" | 29 | // @Param score_time formData int true "Score Time" |