aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSyed Mujeer Hashmi <mujeerhashmi@4csolutions.in>2019-10-11 12:02:38 +0530
committerSyed Mujeer Hashmi <mujeerhashmi@4csolutions.in>2019-10-13 07:07:40 +0530
commit0bcdac4b2be51447262426249b35bebb4c5adc64 (patch)
treecdb80072afb48aafc48a7fbed4d77279c66f2235
parentc3aeb5442d41688c9509c286c066cf3efebb52d4 (diff)
downloadtraccar-server-0bcdac4b2be51447262426249b35bebb4c5adc64.tar.gz
traccar-server-0bcdac4b2be51447262426249b35bebb4c5adc64.tar.bz2
traccar-server-0bcdac4b2be51447262426249b35bebb4c5adc64.zip
swagger: Fix type's to avoid deserialize issues.
-rw-r--r--swagger.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/swagger.json b/swagger.json
index 917892e65..d8827a8f1 100644
--- a/swagger.json
+++ b/swagger.json
@@ -1503,7 +1503,8 @@
"type": "number"
},
"network": {
- "type": "string"
+ "type": "object",
+ "additionalProperties": true
},
"attributes": {
"type": "object",