From f3b4838e255745cdc3dec368ed29e5b321dedc8b Mon Sep 17 00:00:00 2001 From: Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> Date: Thu, 29 Jun 2023 19:40:07 +0300 Subject: docs: add jwt token requirements Former-commit-id: e5b56433686e2180a99293f0ddf339e70b304c67 --- docs/docs.go | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'docs/docs.go') diff --git a/docs/docs.go b/docs/docs.go index 8affdab..9368c2c 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -449,6 +449,13 @@ const docTemplate = `{ ], "summary": "Edit map summary with specified map id.", "parameters": [ + { + "type": "string", + "description": "JWT Token", + "name": "Authorization", + "in": "header", + "required": true + }, { "type": "integer", "description": "Map ID", @@ -502,6 +509,13 @@ const docTemplate = `{ ], "summary": "Create map summary with specified map id.", "parameters": [ + { + "type": "string", + "description": "JWT Token", + "name": "Authorization", + "in": "header", + "required": true + }, { "type": "integer", "description": "Map ID", @@ -555,6 +569,13 @@ const docTemplate = `{ ], "summary": "Delete map summary with specified map id.", "parameters": [ + { + "type": "string", + "description": "JWT Token", + "name": "Authorization", + "in": "header", + "required": true + }, { "type": "integer", "description": "Map ID", -- cgit v1.2.3