[update]: Swagger documentation and responses

This commit is contained in:
VivianDee
2025-03-25 08:52:33 +01:00
parent 3e18c2b1cc
commit 0d87c82e3b
19 changed files with 153 additions and 99 deletions
+15 -6
View File
@@ -1,26 +1,35 @@
{
"type": "object",
"properties": {
"transactionId": {
"requestId": {
"type": "string",
"example": "202111170001371256908"
},
"accountId": {
"transactionId": {
"type": "string",
"example": "ACN8263457"
"example": "Tr201712RK9232P115"
},
"customerId": {
"type": "string",
"example": "CN621868"
},
"accountId": {
"type": "string",
"example": "ACN8263457"
},
"msisdn": {
"type": "string",
"example": "9012345678"
"example": "3451342"
},
"productId": {
"type": "string",
"example": "101"
},
"lienAmount": {
"type": "number",
"format": "decimal",
"example": 400
},
"requestedAmount": {
"type": "number",
"format": "decimal",
@@ -30,13 +39,13 @@
"type": "integer",
"example": 1
},
"offerID": {
"loanType": {
"type": "integer",
"example": 0
},
"channel": {
"type": "string",
"example": "100"
"example": "USSD"
}
},
"xml": {