mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 03:06:31 -05:00
Added serverVersion to status by using SemVer
Signed-off-by: Yannick Bungers <git@innay.de>
This commit is contained in:
parent
b5a99b585c
commit
f1dddb8a41
1 changed files with 14 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue