Added serverVersion to status by using SemVer

Signed-off-by: Yannick Bungers <git@innay.de>
This commit is contained in:
Yannick Bungers 2020-06-09 21:42:43 +02:00 committed by David Mehren
parent b5a99b585c
commit f1dddb8a41
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3

View file

@ -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.