1
0
Fork 0

refactor(api): remove slug from training component and remove TrainingSlug

This commit is contained in:
Vojtěch Mareš 2024-10-10 20:08:43 +02:00
parent ac299d3c86
commit 8d6052d3bd
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D

View file

@ -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: