Feat(user): Added swagger examples
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:
@@ -505,22 +505,28 @@ const docTemplate = `{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"ktmTrainCreditCard": {
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"example": "1234123412341234"
|
||||
},
|
||||
"ktmTrainCreditCardCVV": {
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"example": "123"
|
||||
},
|
||||
"ktmTrainCreditCardExpiry": {
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"example": "01/2022"
|
||||
},
|
||||
"ktmTrainCreditCardType": {
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"example": "Visa|Mastercard"
|
||||
},
|
||||
"ktmTrainPassword": {
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"example": "password"
|
||||
},
|
||||
"ktmTrainUsername": {
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"example": "user@gmail.com"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user