Use oneOf to indicate multiple possible types

Signed-off-by: Christian Wolf <github@christianwolf.email>
This commit is contained in:
Leptopoda 2023-01-06 09:36:00 +01:00 коммит произвёл Christian Wolf
Родитель b4bd9ef484
Коммит 8f134aa093
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -348,7 +348,9 @@ ReleaseVersion:
PreReleaseVersion:
type: array
items:
type: integer|string
oneOf:
- type: integer
- type: string
minItems: 4
maxItems: 4
description: The installed pre-release of the cookbook app