Feat(booking): Added backtosg field
All checks were successful
ktm-booking-bot/ktm-booking-bot/pipeline/head This commit looks good
All checks were successful
ktm-booking-bot/ktm-booking-bot/pipeline/head This commit looks good
This commit is contained in:
@@ -433,6 +433,10 @@ const docTemplate = `{
|
||||
"travelDate"
|
||||
],
|
||||
"properties": {
|
||||
"backToSg": {
|
||||
"type": "boolean",
|
||||
"example": false
|
||||
},
|
||||
"contact": {
|
||||
"type": "string",
|
||||
"example": "+6512345678"
|
||||
@@ -463,7 +467,13 @@ const docTemplate = `{
|
||||
},
|
||||
"ktmtrainbot.BookingResponse": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"backToSg"
|
||||
],
|
||||
"properties": {
|
||||
"backToSg": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"contact": {
|
||||
"type": "string"
|
||||
},
|
||||
|
||||
@@ -425,6 +425,10 @@
|
||||
"travelDate"
|
||||
],
|
||||
"properties": {
|
||||
"backToSg": {
|
||||
"type": "boolean",
|
||||
"example": false
|
||||
},
|
||||
"contact": {
|
||||
"type": "string",
|
||||
"example": "+6512345678"
|
||||
@@ -455,7 +459,13 @@
|
||||
},
|
||||
"ktmtrainbot.BookingResponse": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"backToSg"
|
||||
],
|
||||
"properties": {
|
||||
"backToSg": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"contact": {
|
||||
"type": "string"
|
||||
},
|
||||
|
||||
@@ -23,6 +23,9 @@ definitions:
|
||||
type: object
|
||||
ktmtrainbot.BookingCreateRequest:
|
||||
properties:
|
||||
backToSg:
|
||||
example: false
|
||||
type: boolean
|
||||
contact:
|
||||
example: "+6512345678"
|
||||
type: string
|
||||
@@ -53,6 +56,8 @@ definitions:
|
||||
type: object
|
||||
ktmtrainbot.BookingResponse:
|
||||
properties:
|
||||
backToSg:
|
||||
type: boolean
|
||||
contact:
|
||||
type: string
|
||||
gender:
|
||||
@@ -71,6 +76,8 @@ definitions:
|
||||
type: string
|
||||
travelDate:
|
||||
type: string
|
||||
required:
|
||||
- backToSg
|
||||
type: object
|
||||
ktmtrainbot.ServerTimeResponse:
|
||||
properties:
|
||||
|
||||
Reference in New Issue
Block a user