1
0
Fork 0

feat(api): TrainingDateAttendee: bill, hasPaid, hasAttended are not present when creating attendee

This commit is contained in:
Vojtěch Mareš 2024-05-11 20:29:36 +02:00
parent 2650d412fb
commit 67f015ec97
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D
2 changed files with 56 additions and 57 deletions

View file

@ -649,24 +649,15 @@ components:
type: string
position:
type: string
bill:
$ref: "#/components/schemas/Price"
isStudent:
type: boolean
default: false
hasPaid:
type: boolean
default: false
hasAttended:
type: boolean
default: false
required:
- name
- email
- phone
- company
- position
- bill
TrainingDateAttendee:
allOf:
@ -675,8 +666,19 @@ components:
properties:
id:
$ref: "#/components/schemas/TrainingDateAttendeeID"
bill:
$ref: "#/components/schemas/Price"
hasPaid:
type: boolean
default: false
hasAttended:
type: boolean
default: false
required:
- id
- bill
- hasPaid
- hasAttended
Price:
type: object