aboutsummaryrefslogtreecommitdiff
path: root/docs/swagger.json
diff options
context:
space:
mode:
Diffstat (limited to 'docs/swagger.json')
-rw-r--r--docs/swagger.json45
1 files changed, 21 insertions, 24 deletions
diff --git a/docs/swagger.json b/docs/swagger.json
index c6bbfbc..212ebee 100644
--- a/docs/swagger.json
+++ b/docs/swagger.json
@@ -370,19 +370,7 @@
370 "200": { 370 "200": {
371 "description": "OK", 371 "description": "OK",
372 "schema": { 372 "schema": {
373 "allOf": [ 373 "$ref": "#/definitions/models.Response"
374 {
375 "$ref": "#/definitions/models.Response"
376 },
377 {
378 "type": "object",
379 "properties": {
380 "data": {
381 "$ref": "#/definitions/models.RecordRequest"
382 }
383 }
384 }
385 ]
386 } 374 }
387 }, 375 },
388 "400": { 376 "400": {
@@ -882,6 +870,23 @@
882 "models.EditMapSummaryRequest": { 870 "models.EditMapSummaryRequest": {
883 "type": "object", 871 "type": "object",
884 "required": [ 872 "required": [
873 "image"
874 ],
875 "properties": {
876 "image": {
877 "type": "string"
878 },
879 "routes": {
880 "type": "array",
881 "items": {
882 "$ref": "#/definitions/models.EditMapSummaryRequestDetails"
883 }
884 }
885 }
886 },
887 "models.EditMapSummaryRequestDetails": {
888 "type": "object",
889 "required": [
885 "description", 890 "description",
886 "record_date", 891 "record_date",
887 "route_id", 892 "route_id",
@@ -984,6 +989,9 @@
984 "rating": { 989 "rating": {
985 "type": "number" 990 "type": "number"
986 }, 991 },
992 "route_id": {
993 "type": "integer"
994 },
987 "showcase": { 995 "showcase": {
988 "type": "string" 996 "type": "string"
989 } 997 }
@@ -1071,17 +1079,6 @@
1071 } 1079 }
1072 } 1080 }
1073 }, 1081 },
1074 "models.RecordRequest": {
1075 "type": "object",
1076 "properties": {
1077 "is_partner_orange": {
1078 "type": "boolean"
1079 },
1080 "partner_id": {
1081 "type": "string"
1082 }
1083 }
1084 },
1085 "models.Response": { 1082 "models.Response": {
1086 "type": "object", 1083 "type": "object",
1087 "properties": { 1084 "properties": {