From f1dddb8a41cc1b092beb8524bfc67983f02ac3df Mon Sep 17 00:00:00 2001 From: Yannick Bungers Date: Tue, 9 Jun 2020 21:42:43 +0200 Subject: [PATCH] Added serverVersion to status by using SemVer Signed-off-by: Yannick Bungers --- docs/dev/openapi.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/dev/openapi.yml b/docs/dev/openapi.yml index 9b93641d4..dc223edd2 100644 --- a/docs/dev/openapi.yml +++ b/docs/dev/openapi.yml @@ -755,6 +755,20 @@ components: ServerStatus: type: object properties: + serverVersion: + type: object + properties: + major: + type: integer + minor: + type: integer + patch: + type: integer + preRelease: + type: string + commit: + type: string + description: Version of the server specified according to SemVer specification onlineNotes: type: integer description: How many notes are edited at the moment.