From 61eea227598ca1aa5b69f9aebbb3bef2faeca873 Mon Sep 17 00:00:00 2001 From: Vojtech Mares Date: Thu, 10 Oct 2024 19:59:30 +0200 Subject: [PATCH] refactor(api): rename training.title to training.name to match the go struct --- api/openapi.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/openapi.yaml b/api/openapi.yaml index 306a85b..903b5b1 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -160,7 +160,7 @@ components: NewTraining: type: object properties: - title: + name: type: string slug: type: string @@ -176,7 +176,7 @@ components: items: $ref: "#/components/schemas/TrainingPrice" required: - - title + - name - description - days - pricing