1
0
Fork 0

refactor(api): rename training.title to training.name to match the go struct

This commit is contained in:
Vojtěch Mareš 2024-10-10 19:59:30 +02:00
parent 063ae710e6
commit 61eea22759
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D

View file

@ -160,7 +160,7 @@ components:
NewTraining: NewTraining:
type: object type: object
properties: properties:
title: name:
type: string type: string
slug: slug:
type: string type: string
@ -176,7 +176,7 @@ components:
items: items:
$ref: "#/components/schemas/TrainingPrice" $ref: "#/components/schemas/TrainingPrice"
required: required:
- title - name
- description - description
- days - days
- pricing - pricing