refactor(api): remove slug from training component and remove TrainingSlug
This commit is contained in:
parent
ac299d3c86
commit
8d6052d3bd
1 changed files with 0 additions and 10 deletions
|
|
@ -110,13 +110,6 @@ components:
|
|||
description: ID of the training
|
||||
schema:
|
||||
$ref: "#/components/schemas/TrainingID"
|
||||
TrainingSlug:
|
||||
name: trainingSlug
|
||||
in: path
|
||||
required: true
|
||||
description: Slug of the training
|
||||
schema:
|
||||
type: string
|
||||
# Models
|
||||
schemas:
|
||||
TrainingID:
|
||||
|
|
@ -130,8 +123,6 @@ components:
|
|||
properties:
|
||||
name:
|
||||
type: string
|
||||
slug:
|
||||
type: string
|
||||
days:
|
||||
type: integer
|
||||
format: int8
|
||||
|
|
@ -159,7 +150,6 @@ components:
|
|||
type: boolean
|
||||
required:
|
||||
- id
|
||||
- slug
|
||||
- published
|
||||
- retired
|
||||
TrainingPrice:
|
||||
|
|
|
|||
Reference in a new issue