diff options
Diffstat (limited to '')
| -rw-r--r-- | docs/docs.go | 45 |
1 files changed, 21 insertions, 24 deletions
diff --git a/docs/docs.go b/docs/docs.go index 91f91ef..8318e14 100644 --- a/docs/docs.go +++ b/docs/docs.go | |||
| @@ -377,19 +377,7 @@ const docTemplate = `{ | |||
| 377 | "200": { | 377 | "200": { |
| 378 | "description": "OK", | 378 | "description": "OK", |
| 379 | "schema": { | 379 | "schema": { |
| 380 | "allOf": [ | 380 | "$ref": "#/definitions/models.Response" |
| 381 | { | ||
| 382 | "$ref": "#/definitions/models.Response" | ||
| 383 | }, | ||
| 384 | { | ||
| 385 | "type": "object", | ||
| 386 | "properties": { | ||
| 387 | "data": { | ||
| 388 | "$ref": "#/definitions/models.RecordRequest" | ||
| 389 | } | ||
| 390 | } | ||
| 391 | } | ||
| 392 | ] | ||
| 393 | } | 381 | } |
| 394 | }, | 382 | }, |
| 395 | "400": { | 383 | "400": { |
| @@ -889,6 +877,23 @@ const docTemplate = `{ | |||
| 889 | "models.EditMapSummaryRequest": { | 877 | "models.EditMapSummaryRequest": { |
| 890 | "type": "object", | 878 | "type": "object", |
| 891 | "required": [ | 879 | "required": [ |
| 880 | "image" | ||
| 881 | ], | ||
| 882 | "properties": { | ||
| 883 | "image": { | ||
| 884 | "type": "string" | ||
| 885 | }, | ||
| 886 | "routes": { | ||
| 887 | "type": "array", | ||
| 888 | "items": { | ||
| 889 | "$ref": "#/definitions/models.EditMapSummaryRequestDetails" | ||
| 890 | } | ||
| 891 | } | ||
| 892 | } | ||
| 893 | }, | ||
| 894 | "models.EditMapSummaryRequestDetails": { | ||
| 895 | "type": "object", | ||
| 896 | "required": [ | ||
| 892 | "description", | 897 | "description", |
| 893 | "record_date", | 898 | "record_date", |
| 894 | "route_id", | 899 | "route_id", |
| @@ -991,6 +996,9 @@ const docTemplate = `{ | |||
| 991 | "rating": { | 996 | "rating": { |
| 992 | "type": "number" | 997 | "type": "number" |
| 993 | }, | 998 | }, |
| 999 | "route_id": { | ||
| 1000 | "type": "integer" | ||
| 1001 | }, | ||
| 994 | "showcase": { | 1002 | "showcase": { |
| 995 | "type": "string" | 1003 | "type": "string" |
| 996 | } | 1004 | } |
| @@ -1078,17 +1086,6 @@ const docTemplate = `{ | |||
| 1078 | } | 1086 | } |
| 1079 | } | 1087 | } |
| 1080 | }, | 1088 | }, |
| 1081 | "models.RecordRequest": { | ||
| 1082 | "type": "object", | ||
| 1083 | "properties": { | ||
| 1084 | "is_partner_orange": { | ||
| 1085 | "type": "boolean" | ||
| 1086 | }, | ||
| 1087 | "partner_id": { | ||
| 1088 | "type": "string" | ||
| 1089 | } | ||
| 1090 | } | ||
| 1091 | }, | ||
| 1092 | "models.Response": { | 1089 | "models.Response": { |
| 1093 | "type": "object", | 1090 | "type": "object", |
| 1094 | "properties": { | 1091 | "properties": { |