From 0a53c863979abbec18521c22265f7ecb3bcb3c85 Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Tue, 29 Dec 2020 16:20:50 +0000 Subject: [PATCH] Make 'messages' a required JSON body field in /sendToDevice --- api/client-server/to_device.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/api/client-server/to_device.yaml b/api/client-server/to_device.yaml index 739d9a4f..a4d2f6dd 100644 --- a/api/client-server/to_device.yaml +++ b/api/client-server/to_device.yaml @@ -79,6 +79,7 @@ paths: } } } + required: ["messages"] responses: 200: description: