refactor(api): add /v1 prefix to all paths
This commit is contained in:
parent
24e99a3b08
commit
8ce9378a53
1 changed files with 2 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ info:
|
||||||
url: https://www.vojtechmares.com
|
url: https://www.vojtechmares.com
|
||||||
|
|
||||||
paths:
|
paths:
|
||||||
/trainings:
|
/v1/trainings:
|
||||||
get:
|
get:
|
||||||
summary: List all trainings
|
summary: List all trainings
|
||||||
operationId: listTrainings
|
operationId: listTrainings
|
||||||
|
|
@ -49,7 +49,7 @@ paths:
|
||||||
"500":
|
"500":
|
||||||
$ref: "#/components/responses/InternalError"
|
$ref: "#/components/responses/InternalError"
|
||||||
|
|
||||||
/trainings/{trainingID}:
|
/v1/trainings/{trainingID}:
|
||||||
get:
|
get:
|
||||||
summary: Get a training by ID
|
summary: Get a training by ID
|
||||||
operationId: getTraining
|
operationId: getTraining
|
||||||
|
|
|
||||||
Reference in a new issue