Fix(booking-controller): Fixed fetching of bookings
All checks were successful
ktm-booking-bot/ktm-booking-bot/pipeline/head This commit looks good

This commit is contained in:
2022-09-27 20:29:46 +08:00
parent 51b539fe7a
commit 0ea75f6211
6 changed files with 61 additions and 31 deletions

View File

@@ -57,10 +57,13 @@ definitions:
ktmtrainbot.BookingResponse:
properties:
backToSg:
example: false
type: boolean
contact:
example: "+6512345678"
type: string
gender:
example: M
type: string
id:
type: string
@@ -69,12 +72,15 @@ definitions:
passport:
type: string
passportExpiry:
format: date-time
type: string
status:
type: string
timeCode:
example: "1300"
type: string
travelDate:
format: date-time
type: string
required:
- backToSg
@@ -123,8 +129,10 @@ definitions:
user.UserLoginRequest:
properties:
password:
example: password
type: string
username:
example: user
maxLength: 100
minLength: 2
type: string
@@ -135,10 +143,12 @@ definitions:
user.UserRegisterRequest:
properties:
password:
example: password
maxLength: 100
minLength: 6
type: string
username:
example: user
maxLength: 100
minLength: 2
type: string