OAPI: include "short version" in the FlamencoVersion schema

Include a `shortversion` property in the `FlamencoVersion` schema, which
will just be the version number with the release phase (and not the git
hash, the number of commits since the last tag, and the `-dirty` suffix).
This commit is contained in:
Sybren A. Stüvel 2022-08-31 08:58:05 +02:00
parent 0b176eda96
commit f7366c87ce

View File

@ -1097,8 +1097,13 @@ components:
type: object
properties:
"version": { type: string }
"shortversion": { type: string }
"name": { type: string }
required: [version, name]
required: [version, shortversion, name]
example:
version: 3.0-beta1-56-g4761e3d7-dirty
shortversion: 3.0-beta1
name: Your Manager
ManagerConfiguration:
type: object