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:
|
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
|
||||||
|
|
|
||||||
Reference in a new issue