added endpoint to swagger

This commit was merged in pull request #24.
This commit is contained in:
Chinenye Nmoh
2025-06-17 15:35:07 +01:00
parent e87ceabe47
commit 9158a8c3cd
+28
View File
@@ -167,6 +167,34 @@ paths:
comment:
type: string
example: "Testing PenalCharge"
responses:
200:
description: A successful response
/autocall/analytic-salary-detect:
post:
summary: Salary Detect Endpoint
requestBody:
required: true
content:
application/json:
schema:
type: array
items:
type: object
properties:
salaryDate:
type: string
format: date
example: "2022-01-01"
customerId:
type: string
example: "CN621868"
accountId:
type: string
example: "2017821799"
salaryAmount:
type: number
example: 200000
responses:
200:
description: A successful response