summaryrefslogtreecommitdiffstats
path: root/ucs2-afb/ucs_apidef.h
diff options
context:
space:
mode:
Diffstat (limited to 'ucs2-afb/ucs_apidef.h')
-rw-r--r--ucs2-afb/ucs_apidef.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/ucs2-afb/ucs_apidef.h b/ucs2-afb/ucs_apidef.h
index 140b96a..f1b0c13 100644
--- a/ucs2-afb/ucs_apidef.h
+++ b/ucs2-afb/ucs_apidef.h
@@ -43,9 +43,11 @@ static const char _afb_description_v2_UNICENS[] =
"f\":\"#/components/responses/200\"}}}},\"/write_i2c\":{\"description\":\""
"Writes I2C command to remote node.\",\"get\":{\"x-permissions\":{\"$ref\""
":\"#/components/x-permissions/monitor\"},\"parameters\":[{\"in\":\"query"
- "\",\"name\":\"command\",\"required\":true,\"schema\":{\"node\":\"integer"
- "\"}}],\"responses\":{\"200\":{\"$ref\":\"#/components/responses/200\"}}}"
- "}}}"
+ "\",\"name\":\"node_address\",\"required\":true,\"schema\":{\"type\":\"in"
+ "teger\",\"format\":\"int32\"}},{\"in\":\"query\",\"name\":\"i2c_data\",\""
+ "required\":true,\"schema\":{\"type\":\"array\",\"format\":\"int32\"},\"s"
+ "tyle\":\"simple\"}],\"responses\":{\"200\":{\"$ref\":\"#/components/resp"
+ "onses/200\"}}}}}}"
;
static const struct afb_auth _afb_auths_v2_UNICENS[] = {