refactor(api): remove endpoint GET /trainings/by-slug/{trainingSlug}
This commit is contained in:
parent
dcd0b4ef4f
commit
ac299d3c86
1 changed files with 0 additions and 15 deletions
|
|
@ -56,21 +56,6 @@ paths:
|
||||||
$ref: "#/components/responses/NotFoundError"
|
$ref: "#/components/responses/NotFoundError"
|
||||||
"500":
|
"500":
|
||||||
$ref: "#/components/responses/InternalError"
|
$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:
|
/v0/trainings/{trainingID}/publish:
|
||||||
put:
|
put:
|
||||||
summary: Publish a training
|
summary: Publish a training
|
||||||
|
|
|
||||||
Reference in a new issue