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