From 8ce9378a533758a2892e85cb7d106861fd0a32a2 Mon Sep 17 00:00:00 2001 From: Vojtech Mares Date: Sat, 4 May 2024 15:00:01 +0200 Subject: [PATCH] refactor(api): add /v1 prefix to all paths --- api/v1/openapi.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/v1/openapi.yaml b/api/v1/openapi.yaml index f9d442f..4631db9 100644 --- a/api/v1/openapi.yaml +++ b/api/v1/openapi.yaml @@ -10,7 +10,7 @@ info: url: https://www.vojtechmares.com paths: - /trainings: + /v1/trainings: get: summary: List all trainings operationId: listTrainings @@ -49,7 +49,7 @@ paths: "500": $ref: "#/components/responses/InternalError" - /trainings/{trainingID}: + /v1/trainings/{trainingID}: get: summary: Get a training by ID operationId: getTraining