diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-11-03 14:56:29 +0100 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-12-14 11:00:26 +0100 |
commit | ddfd50dd35d93e67809ae1f61524cfd36b7098d4 (patch) | |
tree | 4006e190bf1d019eb5ce1e7c2d49ec226c5cc2ff /signal-composer-binding | |
parent | 2be8e211634cf9fe8e59993d8cc4d984725dac37 (diff) |
Cleaning, typo and stuff
Change-Id: Ifd6ac589b86e44d43b1e70465c8eba0cfb487c19
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'signal-composer-binding')
-rw-r--r-- | signal-composer-binding/CMakeLists.txt | 1 | ||||
-rw-r--r-- | signal-composer-binding/signal-composer-apidef.h | 28 | ||||
-rw-r--r-- | signal-composer-binding/signal-composer-apidef.json | 2 |
3 files changed, 15 insertions, 16 deletions
diff --git a/signal-composer-binding/CMakeLists.txt b/signal-composer-binding/CMakeLists.txt index 72177a4..f47c9f1 100644 --- a/signal-composer-binding/CMakeLists.txt +++ b/signal-composer-binding/CMakeLists.txt @@ -37,7 +37,6 @@ PROJECT_TARGET_ADD(signal-composer) # Library dependencies (include updates automatically) TARGET_LINK_LIBRARIES(${TARGET_NAME} - #afb-controller ctl-utilities ${link_libraries} ) diff --git a/signal-composer-binding/signal-composer-apidef.h b/signal-composer-binding/signal-composer-apidef.h index 713d2d1..abd0539 100644 --- a/signal-composer-binding/signal-composer-apidef.h +++ b/signal-composer-binding/signal-composer-apidef.h @@ -1,19 +1,19 @@ static const char _afb_description_v2_signal_composer[] = - "{\"openapi\":\"3.0.0\",\"$schema\":\"http:iot.bzh/download/openapi/schem" - "a-3.0/default-schema.json\",\"info\":{\"description\":\"\",\"title\":\"s" - "ignals-composer-service\",\"version\":\"4.0\",\"x-binding-c-generator\":" - "{\"api\":\"signal-composer\",\"version\":2,\"prefix\":\"\",\"postfix\":\"" - "\",\"start\":null,\"onevent\":\"onEvent\",\"preinit\":\"loadConf\",\"ini" - "t\":\"execConf\",\"scope\":\"\",\"private\":false}},\"servers\":[{\"url\"" - ":\"ws://{host}:{port}/api/monitor\",\"description\":\"Signals composer A" - "PI connected to low level AGL services\",\"variables\":{\"host\":{\"defa" - "ult\":\"localhost\"},\"port\":{\"default\":\"1234\"}},\"x-afb-events\":[" - "{\"$ref\":\"#/components/schemas/afb-event\"}]}],\"components\":{\"schem" - "as\":{\"afb-reply\":{\"$ref\":\"#/components/schemas/afb-reply-v2\"},\"a" - "fb-event\":{\"$ref\":\"#/components/schemas/afb-event-v2\"},\"afb-reply-" - "v2\":{\"title\":\"Generic response.\",\"type\":\"object\",\"required\":[" - "\"jtype\",\"request\"],\"properties\":{\"jtype\":{\"type\":\"string\",\"" + "{\"openapi\":\"3.0.0\",\"$schema\":\"http://iot.bzh/download/openapi/sch" + "ema-3.0/default-schema.json\",\"info\":{\"description\":\"\",\"title\":\"" + "signals-composer-service\",\"version\":\"4.0\",\"x-binding-c-generator\"" + ":{\"api\":\"signal-composer\",\"version\":2,\"prefix\":\"\",\"postfix\":" + "\"\",\"start\":null,\"onevent\":\"onEvent\",\"preinit\":\"loadConf\",\"i" + "nit\":\"execConf\",\"scope\":\"\",\"private\":false}},\"servers\":[{\"ur" + "l\":\"ws://{host}:{port}/api/monitor\",\"description\":\"Signals compose" + "r API connected to low level AGL services\",\"variables\":{\"host\":{\"d" + "efault\":\"localhost\"},\"port\":{\"default\":\"1234\"}},\"x-afb-events\"" + ":[{\"$ref\":\"#/components/schemas/afb-event\"}]}],\"components\":{\"sch" + "emas\":{\"afb-reply\":{\"$ref\":\"#/components/schemas/afb-reply-v2\"},\"" + "afb-event\":{\"$ref\":\"#/components/schemas/afb-event-v2\"},\"afb-reply" + "-v2\":{\"title\":\"Generic response.\",\"type\":\"object\",\"required\":" + "[\"jtype\",\"request\"],\"properties\":{\"jtype\":{\"type\":\"string\",\"" "const\":\"afb-reply\"},\"request\":{\"type\":\"object\",\"required\":[\"" "status\"],\"properties\":{\"status\":{\"type\":\"string\"},\"info\":{\"t" "ype\":\"string\"},\"token\":{\"type\":\"string\"},\"uuid\":{\"type\":\"s" diff --git a/signal-composer-binding/signal-composer-apidef.json b/signal-composer-binding/signal-composer-apidef.json index eaf27b3..fffeda3 100644 --- a/signal-composer-binding/signal-composer-apidef.json +++ b/signal-composer-binding/signal-composer-apidef.json @@ -1,6 +1,6 @@ { "openapi": "3.0.0", - "$schema": "http:iot.bzh/download/openapi/schema-3.0/default-schema.json", + "$schema": "http://iot.bzh/download/openapi/schema-3.0/default-schema.json", "info": { "description": "", "title": "signals-composer-service", |