aboutsummaryrefslogtreecommitdiff
path: root/docs/swagger.yaml
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-06-20 20:09:02 +0300
committerArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-06-20 20:09:02 +0300
commit4f9b489186d28055f60e3b5ef39bd27c7a229984 (patch)
tree44eb58cc468c862ce97269ce922decb50ebd5282 /docs/swagger.yaml
parentfeat: improved map summary response, all routes init (#43, #46) (diff)
downloadlphub-4f9b489186d28055f60e3b5ef39bd27c7a229984.tar.gz
lphub-4f9b489186d28055f60e3b5ef39bd27c7a229984.tar.bz2
lphub-4f9b489186d28055f60e3b5ef39bd27c7a229984.zip
docs: map summary response (#46)
Diffstat (limited to '')
-rw-r--r--docs/swagger.yaml10
1 files changed, 4 insertions, 6 deletions
diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index 61f2ad7..3dfe421 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -74,6 +74,10 @@ definitions:
74 $ref: '#/definitions/models.Category' 74 $ref: '#/definitions/models.Category'
75 description: 75 description:
76 type: string 76 type: string
77 history:
78 $ref: '#/definitions/models.MapHistory'
79 rating:
80 type: number
77 score_count: 81 score_count:
78 type: integer 82 type: integer
79 showcase: 83 showcase:
@@ -88,12 +92,6 @@ definitions:
88 type: object 92 type: object
89 models.MapSummary: 93 models.MapSummary:
90 properties: 94 properties:
91 history:
92 items:
93 $ref: '#/definitions/models.MapHistory'
94 type: array
95 rating:
96 type: number
97 routes: 95 routes:
98 items: 96 items:
99 $ref: '#/definitions/models.MapRoute' 97 $ref: '#/definitions/models.MapRoute'