diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-08-23 18:42:08 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-08-23 18:42:08 +0200 |
commit | 09a947647f704b867307736c4e50d7a3baed2610 (patch) | |
tree | 7c85be121d7032e722228f0b7532254d2992f09c /low-can-binding/binding/low-can-apidef.json | |
parent | d31f5d10465003e720c9d0f54e4f935f96d81151 (diff) |
Finalize JSON OPENapi definition file
Change-Id: Ic346c408c938aad39fbea387af4224c14d8a727c
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'low-can-binding/binding/low-can-apidef.json')
-rw-r--r-- | low-can-binding/binding/low-can-apidef.json | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/low-can-binding/binding/low-can-apidef.json b/low-can-binding/binding/low-can-apidef.json index f72178a..cdea1f4 100644 --- a/low-can-binding/binding/low-can-apidef.json +++ b/low-can-binding/binding/low-can-apidef.json @@ -81,9 +81,6 @@ } }, "x-permissions": { - "config": { - "permission": "urn:AGL:permission:low-can:public:config" - }, "monitor": { "permission": "urn:AGL:permission:low-can:public:monitor" }, @@ -118,8 +115,7 @@ "responses": { "200": {"$ref": "#/components/responses/200"} } - } - }, + }, "/unsubscribe": { "description": "Unsubscribe previously suscribed signals.", "parameters": [ @@ -149,7 +145,7 @@ "description": "Write a CAN messages to the CAN bus.", "get": { "x-permissions": { - "$ref": "#/components/x-permissions/write" + "LOA": 1 }, "parameters": [ { @@ -203,5 +199,4 @@ } } } - - +} |