aboutsummaryrefslogtreecommitdiff
path: root/docs/docs.go
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/docs.go
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/docs.go15
1 files changed, 6 insertions, 9 deletions
diff --git a/docs/docs.go b/docs/docs.go
index cf6c00d..b7dc7ab 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -908,6 +908,12 @@ const docTemplate = `{
908 "description": { 908 "description": {
909 "type": "string" 909 "type": "string"
910 }, 910 },
911 "history": {
912 "$ref": "#/definitions/models.MapHistory"
913 },
914 "rating": {
915 "type": "number"
916 },
911 "score_count": { 917 "score_count": {
912 "type": "integer" 918 "type": "integer"
913 }, 919 },
@@ -930,15 +936,6 @@ const docTemplate = `{
930 "models.MapSummary": { 936 "models.MapSummary": {
931 "type": "object", 937 "type": "object",
932 "properties": { 938 "properties": {
933 "history": {
934 "type": "array",
935 "items": {
936 "$ref": "#/definitions/models.MapHistory"
937 }
938 },
939 "rating": {
940 "type": "number"
941 },
942 "routes": { 939 "routes": {
943 "type": "array", 940 "type": "array",
944 "items": { 941 "items": {