diff --git a/guh.pri b/guh.pri index ed503a30..0c035e39 100644 --- a/guh.pri +++ b/guh.pri @@ -5,8 +5,8 @@ GUH_VERSION_STRING=$$system('dpkg-parsechangelog | sed -n -e "s/^Version: //p"') GUH_PLUGINS_PATH=/usr/lib/$$system('dpkg-architecture -q DEB_HOST_MULTIARCH')/guh/plugins/ # define protocol versions -JSON_PROTOCOL_VERSION_MAJOR=0 -JSON_PROTOCOL_VERSION_MINOR=54 +JSON_PROTOCOL_VERSION_MAJOR=1 +JSON_PROTOCOL_VERSION_MINOR=0 REST_API_VERSION=1 DEFINES += GUH_VERSION_STRING=\\\"$${GUH_VERSION_STRING}\\\" \ diff --git a/tests/auto/api.json b/tests/auto/api.json index 7552ac96..2c159703 100644 --- a/tests/auto/api.json +++ b/tests/auto/api.json @@ -1,4 +1,4 @@ -0.54 +1.0 { "methods": { "Actions.ExecuteAction": { @@ -22,9 +22,10 @@ "returns": { "deviceError": "$ref:DeviceError", "o:actionType": { + "displayName": "String", "id": "Uuid", "index": "Int", - "name": "Uuid", + "name": "String", "paramTypes": [ "$ref:ParamType" ] @@ -961,9 +962,10 @@ ] }, "ActionType": { + "displayName": "String", "id": "Uuid", "index": "Int", - "name": "Uuid", + "name": "String", "paramTypes": [ "$ref:ParamType" ] @@ -1051,6 +1053,7 @@ "discoveryParamTypes": [ "$ref:ParamType" ], + "displayName": "String", "eventTypes": [ "$ref:EventType" ], @@ -1156,6 +1159,7 @@ ] }, "EventType": { + "displayName": "String", "id": "Uuid", "index": "Int", "name": "String", @@ -1258,6 +1262,7 @@ "value": "$ref:BasicType" }, "ParamType": { + "displayName": "String", "id": "Uuid", "index": "Int", "name": "String", @@ -1273,6 +1278,7 @@ "type": "$ref:BasicType" }, "Plugin": { + "displayName": "String", "id": "Uuid", "name": "String", "paramTypes": [ @@ -1397,6 +1403,7 @@ ], "StateType": { "defaultValue": "Variant", + "displayName": "String", "id": "Uuid", "index": "Int", "name": "String", @@ -1499,6 +1506,7 @@ "ValueOperatorGreaterOrEqual" ], "Vendor": { + "displayName": "String", "id": "Uuid", "name": "String" },