From ac299d3c86fc6bbd7c622c8e91ed86f9497f1e82 Mon Sep 17 00:00:00 2001 From: Vojtech Mares Date: Thu, 10 Oct 2024 20:02:29 +0200 Subject: [PATCH] refactor(api): remove endpoint GET /trainings/by-slug/{trainingSlug} --- api/openapi.yaml | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/api/openapi.yaml b/api/openapi.yaml index 0dc558f..d34e9ca 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -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