diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2019-01-01 09:21:29 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-01 09:21:29 -0800 |
commit | 91c984a419a977b79f11722082bf553a435c664b (patch) | |
tree | fffd2cd208fd3e7d5543941d85bcee42762511e3 /swagger.json | |
parent | b8353006ba89aa67eefc6c06f423812d9c06432a (diff) | |
parent | 8a4cba5db7f601180d4139db398620d539a1c6e9 (diff) | |
download | trackermap-server-91c984a419a977b79f11722082bf553a435c664b.tar.gz trackermap-server-91c984a419a977b79f11722082bf553a435c664b.tar.bz2 trackermap-server-91c984a419a977b79f11722082bf553a435c664b.zip |
Merge pull request #4176 from mujeerhashmi/swaggerFixes
Swagger.json: Fix typo and add type for attributes
Diffstat (limited to 'swagger.json')
-rw-r--r-- | swagger.json | 60 |
1 files changed, 48 insertions, 12 deletions
diff --git a/swagger.json b/swagger.json index 54ff10d1b..040e9d40e 100644 --- a/swagger.json +++ b/swagger.json @@ -1494,7 +1494,10 @@ "network": { "type": "string" }, - "attributes": {} + "attributes": { + "type": "object", + "additionalProperties": true + } } }, "User": { @@ -1561,7 +1564,10 @@ "token": { "type": "string" }, - "attributes": {} + "attributes": { + "type": "object", + "additionalProperties": true + } } }, "Server": { @@ -1614,7 +1620,10 @@ "coordinateFormat": { "type": "string" }, - "attributes": {} + "attributes": { + "type": "object", + "additionalProperties": true + } } }, "Command": { @@ -1631,7 +1640,10 @@ "type": { "type": "string" }, - "attributes": {} + "attributes": { + "type": "object", + "additionalProperties": true + } } }, "Device": { @@ -1680,7 +1692,10 @@ "type": "integer" } }, - "attributes": {} + "attributes": { + "type": "object", + "additionalProperties": true + } } }, "Group": { @@ -1694,7 +1709,10 @@ "groupId": { "type": "integer" }, - "attributes": {} + "attributes": { + "type": "object", + "additionalProperties": true + } } }, "Permission": { @@ -1758,7 +1776,10 @@ "calendarId": { "type": "integer" }, - "attributes": {} + "attributes": { + "type": "object", + "additionalProperties": true + } } }, "Notification": { @@ -1784,7 +1805,10 @@ "calendarId": { "type": "integer" }, - "attributes": {} + "attributes": { + "type": "object", + "additionalProperties": true + } } }, "NotificationType": { @@ -1819,7 +1843,10 @@ "maintenanceId": { "type": "integer" }, - "attributes": {} + "attributes": { + "type": "object", + "additionalProperties": true + } } }, "ReportSummary": { @@ -2003,7 +2030,10 @@ "type": "string", "description": "base64 encoded in iCalendar format" }, - "atributes": {} + "attributes": { + "type": "object", + "additionalProperties": true + } } }, "Attribute": { @@ -2037,7 +2067,10 @@ "uniqueId": { "type": "string" }, - "atributes": {} + "attributes": { + "type": "object", + "additionalProperties": true + } } }, "Maintenance": { @@ -2057,7 +2090,10 @@ "period": { "type": "number" }, - "atributes": {} + "attributes": { + "type": "object", + "additionalProperties": true + } } } }, |