From f187bc7df9b25acdbbf07f13063c9ea0111a6a3b Mon Sep 17 00:00:00 2001 From: Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> Date: Thu, 29 Jun 2023 19:35:54 +0300 Subject: docs: fix delete map summary Former-commit-id: c94adce2fb9a6210f2732a35075bbe49adebc532 --- docs/docs.go | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) (limited to 'docs/docs.go') diff --git a/docs/docs.go b/docs/docs.go index 40632e3..8affdab 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -494,6 +494,59 @@ const docTemplate = `{ } }, "post": { + "produces": [ + "application/json" + ], + "tags": [ + "maps" + ], + "summary": "Create map summary with specified map id.", + "parameters": [ + { + "type": "integer", + "description": "Map ID", + "name": "id", + "in": "path", + "required": true + }, + { + "description": "Body", + "name": "request", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.CreateMapSummaryRequest" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/models.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/models.CreateMapSummaryRequest" + } + } + } + ] + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/models.Response" + } + } + } + }, + "delete": { "produces": [ "application/json" ], -- cgit v1.2.3