From 7f56ba240f71c1f6800d1d51ba278b8d5a968ab3 Mon Sep 17 00:00:00 2001 From: Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> Date: Fri, 22 Dec 2023 12:22:14 +0300 Subject: fix: discussions logic cleanup, docs title changes (#142) --- docs/swagger.json | 35 +++++++++++++++++++---------------- 1 file changed, 19 insertions(+), 16 deletions(-) (limited to 'docs/swagger.json') diff --git a/docs/swagger.json b/docs/swagger.json index 32efc4b..5e3fcd7 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -322,7 +322,7 @@ "application/json" ], "tags": [ - "maps" + "maps / discussions" ], "parameters": [ { @@ -360,7 +360,7 @@ "application/json" ], "tags": [ - "maps" + "maps / discussions" ], "parameters": [ { @@ -416,7 +416,7 @@ "application/json" ], "tags": [ - "maps" + "maps / discussions" ], "parameters": [ { @@ -461,7 +461,7 @@ "application/json" ], "tags": [ - "maps" + "maps / discussions" ], "parameters": [ { @@ -522,7 +522,7 @@ "application/json" ], "tags": [ - "maps" + "maps / discussions" ], "parameters": [ { @@ -578,12 +578,12 @@ } }, "delete": { - "description": "Delete map summary with specified map id.", + "description": "Delete map discussion with specified map id.", "produces": [ "application/json" ], "tags": [ - "maps" + "maps / discussions" ], "parameters": [ { @@ -625,7 +625,7 @@ "application/json" ], "tags": [ - "maps" + "maps / summary" ], "parameters": [ { @@ -681,7 +681,7 @@ "application/json" ], "tags": [ - "maps" + "maps / leaderboards" ], "parameters": [ { @@ -736,7 +736,7 @@ "application/json" ], "tags": [ - "maps" + "maps / leaderboards" ], "parameters": [ { @@ -808,7 +808,7 @@ "application/json" ], "tags": [ - "maps" + "maps / leaderboards" ], "parameters": [ { @@ -850,7 +850,7 @@ "application/json" ], "tags": [ - "maps" + "maps / summary" ], "parameters": [ { @@ -888,7 +888,7 @@ "application/json" ], "tags": [ - "maps" + "maps / summary" ], "parameters": [ { @@ -942,7 +942,7 @@ "application/json" ], "tags": [ - "maps" + "maps / summary" ], "parameters": [ { @@ -996,7 +996,7 @@ "application/json" ], "tags": [ - "maps" + "maps / summary" ], "parameters": [ { @@ -1549,6 +1549,10 @@ "content": { "type": "string" }, + "created_at": { + "description": "Upvotes int `json:\"upvotes\"`", + "type": "string" + }, "creator": { "$ref": "#/definitions/models.UserShortWithAvatar" }, @@ -1559,7 +1563,6 @@ "type": "string" }, "updated_at": { - "description": "Upvotes int `json:\"upvotes\"`", "type": "string" } } -- cgit v1.2.3