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