aboutsummaryrefslogtreecommitdiff
path: root/docs/docs.go
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-06-29 12:32:28 +0300
committerArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-06-29 12:32:28 +0300
commit84346e6006d6e88dfef99550da3c2e80071f0197 (patch)
tree07bc99d395a96d88c4771dbd29ef263901de9570 /docs/docs.go
parentfeat: route id in map summary, update docs (diff)
downloadlphub-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 'docs/docs.go')
-rw-r--r--docs/docs.go45
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": {