diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-06-29 12:32:28 +0300 |
|---|---|---|
| committer | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-06-29 12:32:28 +0300 |
| commit | 84346e6006d6e88dfef99550da3c2e80071f0197 (patch) | |
| tree | 07bc99d395a96d88c4771dbd29ef263901de9570 /docs/swagger.yaml | |
| parent | feat: route id in map summary, update docs (diff) | |
| download | lphub-84346e6006d6e88dfef99550da3c2e80071f0197.tar.gz lphub-84346e6006d6e88dfef99550da3c2e80071f0197.tar.bz2 lphub-84346e6006d6e88dfef99550da3c2e80071f0197.zip | |
feat: support for multiple route edit, image field
Former-commit-id: 3820c1363ece1c6616ec0297e44de851bae410af
Diffstat (limited to '')
| -rw-r--r-- | docs/swagger.yaml | 27 |
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: |