[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,14 +2,14 @@
"type": "object",
"required": ["requestId", "affiliateCode", "debtId", "productId", "customerId", "accountId", "provideAmount", "collectAmount", "interestRate"],
"properties": {
"requestId": { "type": "string" },
"affiliateCode": { "type": "string" },
"debtId": { "type": "integer" },
"productId": { "type": "string" },
"customerId": { "type": "string" },
"accountId": { "type": "string" },
"provideAmount": { "type": "number" },
"collectAmount": { "type": "number" },
"interestRate": { "type": "number" }
"requestId": { "type": "string", "example": "req-12345" },
"affiliateCode": { "type": "string", "example": "aff-67890" },
"debtId": { "type": "integer", "example": 123456 },
"productId": { "type": "string", "example": "prod-78901" },
"customerId": { "type": "string", "example": "cust-54321" },
"accountId": { "type": "string", "example": "acc-98765" },
"provideAmount": { "type": "number", "example": 1000.00 },
"collectAmount": { "type": "number", "example": 1150.00 },
"interestRate": { "type": "number", "example": 5.0 }
}
}