aboutsummaryrefslogtreecommitdiff
path: root/docs/swagger.yaml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--docs/swagger.yaml27
1 files changed, 14 insertions, 13 deletions
diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index 4291cfc..ba20f6d 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -34,6 +34,17 @@ definitions:
34 type: object 34 type: object
35 models.EditMapSummaryRequest: 35 models.EditMapSummaryRequest:
36 properties: 36 properties:
37 image:
38 type: string
39 routes:
40 items:
41 $ref: '#/definitions/models.EditMapSummaryRequestDetails'
42 type: array
43 required:
44 - image
45 type: object
46 models.EditMapSummaryRequestDetails:
47 properties:
37 description: 48 description:
38 type: string 49 type: string
39 record_date: 50 record_date:
@@ -102,6 +113,8 @@ definitions:
102 $ref: '#/definitions/models.MapHistory' 113 $ref: '#/definitions/models.MapHistory'
103 rating: 114 rating:
104 type: number 115 type: number
116 route_id:
117 type: integer
105 showcase: 118 showcase:
106 type: string 119 type: string
107 type: object 120 type: object
@@ -158,13 +171,6 @@ definitions:
158 $ref: '#/definitions/models.UserRanking' 171 $ref: '#/definitions/models.UserRanking'
159 type: array 172 type: array
160 type: object 173 type: object
161 models.RecordRequest:
162 properties:
163 is_partner_orange:
164 type: boolean
165 partner_id:
166 type: string
167 type: object
168 models.Response: 174 models.Response:
169 properties: 175 properties:
170 data: {} 176 data: {}
@@ -429,12 +435,7 @@ paths:
429 "200": 435 "200":
430 description: OK 436 description: OK
431 schema: 437 schema:
432 allOf: 438 $ref: '#/definitions/models.Response'
433 - $ref: '#/definitions/models.Response'
434 - properties:
435 data:
436 $ref: '#/definitions/models.RecordRequest'
437 type: object
438 "400": 439 "400":
439 description: Bad Request 440 description: Bad Request
440 schema: 441 schema: