[fix]: request schems

This commit is contained in:
VivianDee
2025-07-30 05:24:02 +01:00
parent 038c5323b0
commit 33ee8a286b
11 changed files with 51 additions and 47 deletions
@@ -2,12 +2,12 @@
"type": "object",
"required": ["requestId", "affiliateCode", "debtId", "principal", "interest", "penalty", "collectAmount"],
"properties": {
"requestId": { "type": "string" },
"affiliateCode": { "type": "string" },
"debtId": { "type": "integer" },
"principal": { "type": "number" },
"interest": { "type": "number" },
"penalty": { "type": "number" },
"collectAmount": { "type": "number" }
"requestId": { "type": "string", "example": "req-12345" },
"affiliateCode": { "type": "string", "example": "aff-67890" },
"debtId": { "type": "integer", "example": 123456 },
"principal": { "type": "number", "example": 1000.00 },
"interest": { "type": "number", "example": 100.00 },
"penalty": { "type": "number", "example": 50.00 },
"collectAmount": { "type": "number", "example": 1150.00 }
}
}