refactor(api): rename training.title to training.name to match the go struct
This commit is contained in:
parent
063ae710e6
commit
61eea22759
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Reference in a new issue