From 4e742f25cda4f87723fe70f5a3ece7a49b733ddd Mon Sep 17 00:00:00 2001 From: wistefan Date: Wed, 31 Jul 2019 16:25:15 +0200 Subject: [PATCH] update tenant and device in openapi Signed-off-by: wistefan --- .../static/latest/api/device-registry-v1.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/site/documentation/static/latest/api/device-registry-v1.yaml b/site/documentation/static/latest/api/device-registry-v1.yaml index 254198674a..75d2ea5465 100644 --- a/site/documentation/static/latest/api/device-registry-v1.yaml +++ b/site/documentation/static/latest/api/device-registry-v1.yaml @@ -440,7 +440,12 @@ components: Tenant: type: object additionalProperties: false + required: + - tenant-id + - enabled properties: + "tenant-id": + type: string "enabled": type: boolean default: true @@ -534,7 +539,11 @@ components: Device: type: object additionalProperties: false + required: + - device-id properties: + "device-id": + type: string "enabled": type: boolean default: true @@ -872,4 +881,4 @@ components: "pwd-hash": "", "salt": "", "hash-function": "" - }] + }] \ No newline at end of file