From 4a5a3f13a7b644decb804bc1e1507dda14477205 Mon Sep 17 00:00:00 2001 From: Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> Date: Mon, 3 Jul 2023 19:52:42 +0300 Subject: docs: add missing field to post record Former-commit-id: 73726de788daf38a82d9663ab2d8f0544b76c3e3 --- docs/docs.go | 7 +++++++ docs/swagger.json | 7 +++++++ docs/swagger.yaml | 5 +++++ 3 files changed, 19 insertions(+) (limited to 'docs') diff --git a/docs/docs.go b/docs/docs.go index 41acab3..bb14382 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -337,6 +337,13 @@ const docTemplate = `{ ], "summary": "Post record with demo of a specific map.", "parameters": [ + { + "type": "integer", + "description": "Map ID", + "name": "id", + "in": "path", + "required": true + }, { "type": "string", "description": "JWT Token", diff --git a/docs/swagger.json b/docs/swagger.json index 3ec06b6..3530d2c 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -330,6 +330,13 @@ ], "summary": "Post record with demo of a specific map.", "parameters": [ + { + "type": "integer", + "description": "Map ID", + "name": "id", + "in": "path", + "required": true + }, { "type": "string", "description": "JWT Token", diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 3fe5d66..d4420e2 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -422,6 +422,11 @@ paths: consumes: - multipart/form-data parameters: + - description: Map ID + in: path + name: id + required: true + type: integer - description: JWT Token in: header name: Authorization -- cgit v1.2.3