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
|
description: ID of the training
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/TrainingID"
|
$ref: "#/components/schemas/TrainingID"
|
||||||
TrainingSlug:
|
|
||||||
name: trainingSlug
|
|
||||||
in: path
|
|
||||||
required: true
|
|
||||||
description: Slug of the training
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
# Models
|
# Models
|
||||||
schemas:
|
schemas:
|
||||||
TrainingID:
|
TrainingID:
|
||||||
|
|
@ -130,8 +123,6 @@ components:
|
||||||
properties:
|
properties:
|
||||||
name:
|
name:
|
||||||
type: string
|
type: string
|
||||||
slug:
|
|
||||||
type: string
|
|
||||||
days:
|
days:
|
||||||
type: integer
|
type: integer
|
||||||
format: int8
|
format: int8
|
||||||
|
|
@ -159,7 +150,6 @@ components:
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- id
|
- id
|
||||||
- slug
|
|
||||||
- published
|
- published
|
||||||
- retired
|
- retired
|
||||||
TrainingPrice:
|
TrainingPrice:
|
||||||
|
|
|
||||||
Reference in a new issue