1
0
Fork 0

refactor(api): remove endpoint GET /trainings/by-slug/{trainingSlug}

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

View file

@ -56,21 +56,6 @@ paths:
$ref: "#/components/responses/NotFoundError"
"500":
$ref: "#/components/responses/InternalError"
/v0/trainings/by-slug/{trainingSlug}:
get:
summary: Get a training by training slug
operationId: getTrainingBySlug
tags:
- Trainings
parameters:
- $ref: "#/components/parameters/TrainingSlug"
responses:
"200":
$ref: "#/components/responses/GetTrainingResponse"
"404":
$ref: "#/components/responses/NotFoundError"
"500":
$ref: "#/components/responses/InternalError"
/v0/trainings/{trainingID}/publish:
put:
summary: Publish a training