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:
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