diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-06-20 20:09:02 +0300 |
|---|---|---|
| committer | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-06-20 20:09:02 +0300 |
| commit | 4f9b489186d28055f60e3b5ef39bd27c7a229984 (patch) | |
| tree | 44eb58cc468c862ce97269ce922decb50ebd5282 /docs/swagger.json | |
| parent | feat: improved map summary response, all routes init (#43, #46) (diff) | |
| download | lphub-4f9b489186d28055f60e3b5ef39bd27c7a229984.tar.gz lphub-4f9b489186d28055f60e3b5ef39bd27c7a229984.tar.bz2 lphub-4f9b489186d28055f60e3b5ef39bd27c7a229984.zip | |
docs: map summary response (#46)
Diffstat (limited to '')
| -rw-r--r-- | docs/swagger.json | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/docs/swagger.json b/docs/swagger.json index f2ed3f0..ffcf55a 100644 --- a/docs/swagger.json +++ b/docs/swagger.json | |||
| @@ -901,6 +901,12 @@ | |||
| 901 | "description": { | 901 | "description": { |
| 902 | "type": "string" | 902 | "type": "string" |
| 903 | }, | 903 | }, |
| 904 | "history": { | ||
| 905 | "$ref": "#/definitions/models.MapHistory" | ||
| 906 | }, | ||
| 907 | "rating": { | ||
| 908 | "type": "number" | ||
| 909 | }, | ||
| 904 | "score_count": { | 910 | "score_count": { |
| 905 | "type": "integer" | 911 | "type": "integer" |
| 906 | }, | 912 | }, |
| @@ -923,15 +929,6 @@ | |||
| 923 | "models.MapSummary": { | 929 | "models.MapSummary": { |
| 924 | "type": "object", | 930 | "type": "object", |
| 925 | "properties": { | 931 | "properties": { |
| 926 | "history": { | ||
| 927 | "type": "array", | ||
| 928 | "items": { | ||
| 929 | "$ref": "#/definitions/models.MapHistory" | ||
| 930 | } | ||
| 931 | }, | ||
| 932 | "rating": { | ||
| 933 | "type": "number" | ||
| 934 | }, | ||
| 935 | "routes": { | 932 | "routes": { |
| 936 | "type": "array", | 933 | "type": "array", |
| 937 | "items": { | 934 | "items": { |