From 34555262c1d6a2dff9e2068019013f700962f13c Mon Sep 17 00:00:00 2001 From: Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> Date: Mon, 11 Dec 2023 16:37:24 +0300 Subject: docs: add missing param (#59) --- docs/swagger.yaml | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) (limited to 'docs/swagger.yaml') diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 9de09a3..f3a848f 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -149,22 +149,6 @@ definitions: user: $ref: '#/definitions/models.UserShortWithAvatar' type: object - handlers.MapDiscussionOnlyTitle: - properties: - comments: - items: - $ref: '#/definitions/handlers.MapDiscussionComment' - type: array - creator: - $ref: '#/definitions/models.UserShortWithAvatar' - id: - type: integer - title: - type: string - updated_at: - description: Upvotes int `json:"upvotes"` - type: string - type: object handlers.MapDiscussionResponse: properties: discussion: @@ -174,7 +158,7 @@ definitions: properties: discussions: items: - $ref: '#/definitions/handlers.MapDiscussionOnlyTitle' + $ref: '#/definitions/handlers.MapDiscussion' type: array type: object handlers.MapLeaderboardsResponse: @@ -792,6 +776,11 @@ paths: name: mapid required: true type: integer + - description: Discussion ID + in: path + name: discussionid + required: true + type: integer - description: Body in: body name: request -- cgit v1.2.3