aboutsummaryrefslogtreecommitdiff
path: root/docs/swagger.yaml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--docs/swagger.yaml23
1 files changed, 6 insertions, 17 deletions
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:
149 user: 149 user:
150 $ref: '#/definitions/models.UserShortWithAvatar' 150 $ref: '#/definitions/models.UserShortWithAvatar'
151 type: object 151 type: object
152 handlers.MapDiscussionOnlyTitle:
153 properties:
154 comments:
155 items:
156 $ref: '#/definitions/handlers.MapDiscussionComment'
157 type: array
158 creator:
159 $ref: '#/definitions/models.UserShortWithAvatar'
160 id:
161 type: integer
162 title:
163 type: string
164 updated_at:
165 description: Upvotes int `json:"upvotes"`
166 type: string
167 type: object
168 handlers.MapDiscussionResponse: 152 handlers.MapDiscussionResponse:
169 properties: 153 properties:
170 discussion: 154 discussion:
@@ -174,7 +158,7 @@ definitions:
174 properties: 158 properties:
175 discussions: 159 discussions:
176 items: 160 items:
177 $ref: '#/definitions/handlers.MapDiscussionOnlyTitle' 161 $ref: '#/definitions/handlers.MapDiscussion'
178 type: array 162 type: array
179 type: object 163 type: object
180 handlers.MapLeaderboardsResponse: 164 handlers.MapLeaderboardsResponse:
@@ -792,6 +776,11 @@ paths:
792 name: mapid 776 name: mapid
793 required: true 777 required: true
794 type: integer 778 type: integer
779 - description: Discussion ID
780 in: path
781 name: discussionid
782 required: true
783 type: integer
795 - description: Body 784 - description: Body
796 in: body 785 in: body
797 name: request 786 name: request