From 9a1a274a330cfcabd435963e0a289d8874a6c384 Mon Sep 17 00:00:00 2001 From: john30 Date: Wed, 31 May 2017 21:33:53 +0200 Subject: [PATCH] updated to latest changes, corrected example --- contrib/html/swagger.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/contrib/html/swagger.yaml b/contrib/html/swagger.yaml index 8e8f316a2..1efccdd21 100644 --- a/contrib/html/swagger.yaml +++ b/contrib/html/swagger.yaml @@ -135,11 +135,11 @@ definitions: type: string description: the ebusd version (major.minor.sha1 or major.minor.date). pattern: '[0-9]+\.[0-9]+\.[0-9a-f]+\.' - example: '3.0.abcdefg' + example: '3.0.1234abc' updatecheck: type: string description: the result of update check ("OK" or string describing available updates). - example: 'revision abcdefh available, 5 newer configuration files available' + example: 'revision 1234abd available, 5 newer configuration files available' signal: type: boolean description: whether signal is available. @@ -188,6 +188,9 @@ definitions: Message: type: object properties: + name: + type: string + description: the message name. lastup: type: integer description: the time in UTC seconds of the last update of the message.