1
0
Fork 0
mirror of https://github.com/hedgedoc/hedgedoc.git synced 2025-02-25 05:52:41 +00:00

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 71158f93dc
commit 0ec8d61669
No known key found for this signature in database
GPG key ID: 6017AF117F9756CB

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.