From 4004ac9b925f6f9377533ce9ff349a5db681e7d4 Mon Sep 17 00:00:00 2001 From: Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> Date: Thu, 20 Apr 2023 20:53:00 +0300 Subject: doc: add auth header fields (#34) --- backend/controllers/recordController.go | 1 + 1 file changed, 1 insertion(+) (limited to 'backend/controllers/recordController.go') 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 ( // @Summary Post record with demo of a specific map. // @Accept mpfd // @Produce json +// @Param Authorization header string true "JWT Token" // @Param demos formData []file true "Demos" // @Param score_count formData int true "Score Count" // @Param score_time formData int true "Score Time" -- cgit v1.2.3