1
0
Fork 0

feat(training): add fields published and retired

This commit is contained in:
Vojtěch Mareš 2024-06-30 15:58:20 +02:00
parent 79b7567627
commit df41b45905
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D
9 changed files with 131 additions and 50 deletions

View file

@ -560,6 +560,9 @@ components:
$ref: "#/components/schemas/TrainingPrice"
slug:
type: string
published:
type: boolean
default: false
required:
- name
- days
@ -573,9 +576,13 @@ components:
properties:
id:
$ref: "#/components/schemas/TrainingID"
retired:
type: boolean
required:
- id
- slug
- published
- retired
TrainingID:
type: integer