feat(training): add fields published and retired
This commit is contained in:
parent
79b7567627
commit
df41b45905
9 changed files with 131 additions and 50 deletions
|
|
@ -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
|
||||
|
|
|
|||
Reference in a new issue