Finalize JSON OPENapi definition file
authorRomain Forlot <romain.forlot@iot.bzh>
Wed, 23 Aug 2017 16:42:08 +0000 (18:42 +0200)
committerRomain Forlot <romain.forlot@iot.bzh>
Wed, 23 Aug 2017 16:42:08 +0000 (18:42 +0200)
Change-Id: Ic346c408c938aad39fbea387af4224c14d8a727c
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
low-can-binding/binding/low-can-apidef.json

index f72178a..cdea1f4 100644 (file)
@@ -81,9 +81,6 @@
       }
     },
     "x-permissions": {
-        "config": {
-          "permission": "urn:AGL:permission:low-can:public:config"
-        },
         "monitor": {
           "permission": "urn:AGL:permission:low-can:public:monitor"
         },
         "responses": {
           "200": {"$ref": "#/components/responses/200"}
         }
-      }
-    },
+      },
     "/unsubscribe": {
       "description": "Unsubscribe previously suscribed signals.",
         "parameters": [
       "description": "Write a CAN messages to the CAN bus.",
       "get": {
         "x-permissions": {
-          "$ref": "#/components/x-permissions/write"
+          "LOA": 1
         },
         "parameters": [
           {
       }
     }
   }
-
-
+}