From 09a947647f704b867307736c4e50d7a3baed2610 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Wed, 23 Aug 2017 18:42:08 +0200 Subject: Finalize JSON OPENapi definition file Change-Id: Ic346c408c938aad39fbea387af4224c14d8a727c Signed-off-by: Romain Forlot --- low-can-binding/binding/low-can-apidef.json | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'low-can-binding') diff --git a/low-can-binding/binding/low-can-apidef.json b/low-can-binding/binding/low-can-apidef.json index f72178a1..cdea1f48 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 @@ } } } - - +} -- cgit 1.2.3-korg