128 lines
3.4 KiB
JSON
128 lines
3.4 KiB
JSON
{
|
|
"openapi": "3.0.3",
|
|
"info": {
|
|
"title": "bank Emulator Swagger Simbrella EcoBank - OpenAPI 3.0",
|
|
"description": "This is a Simbrella EcoBank bank Backend Server Emulator with the OpenAPI 3.0 specification. \n\n\nSome useful links:\n- [Web Simulated Demo Page](https://digifi-salaryloan.chiefsoft.net/)\n- [Web Management Support Portal](https://digifi-office.chiefsoft.net/auth/login)",
|
|
"termsOfService": "http://swagger.io/terms/",
|
|
"contact": {
|
|
"email": "support@chiefsoft.com"
|
|
},
|
|
"license": {
|
|
"name": "Apache 2.0",
|
|
"url": "http://www.apache.org/licenses/LICENSE-2.0.html"
|
|
},
|
|
"version": "1.0.11"
|
|
},
|
|
"servers": [
|
|
{
|
|
"url": "http://localhost:6337"
|
|
},
|
|
{
|
|
"url": "http://localhost:5000"
|
|
},
|
|
{
|
|
"url": "http://10.10.11.17:6337"
|
|
},
|
|
{
|
|
"url": "https://bank-emulator.dev.simbrellang.net"
|
|
}
|
|
],
|
|
"tags": [
|
|
{
|
|
"name": "Authentication",
|
|
"description": "EcoBank Authentication Token Request",
|
|
"externalDocs": {
|
|
"description": "Find out more",
|
|
"url": "https://www.simbrellang.net"
|
|
}
|
|
},
|
|
{
|
|
"name": "Disbursement",
|
|
"description": "Loan Disbursement Request to EcoBank",
|
|
"externalDocs": {
|
|
"description": "Find out more",
|
|
"url": "https://www.simbrellang.net"
|
|
}
|
|
},
|
|
{
|
|
"name": "CollectLoan",
|
|
"description": "Collect Loan Repayment from EcoBank Customer",
|
|
"externalDocs": {
|
|
"description": "Find out more",
|
|
"url": "https://www.simbrellang.net"
|
|
}
|
|
},
|
|
{
|
|
"name": "DebtClosureNotification",
|
|
"description": "Notify EcoBank of Loan Closure",
|
|
"externalDocs": {
|
|
"description": "Find out more",
|
|
"url": "https://www.simbrellang.net"
|
|
}
|
|
},
|
|
{
|
|
"name": "SendSMS",
|
|
"description": "Send SMS to EcoBank Customers",
|
|
"externalDocs": {
|
|
"description": "Find out more",
|
|
"url": "https://www.simbrellang.net"
|
|
}
|
|
}
|
|
],
|
|
"paths": {
|
|
"/eco/Authorize": {
|
|
"$ref": "swagger/paths/eco/Authentication.json"
|
|
},
|
|
"/eco/Disbursement": {
|
|
"$ref": "swagger/paths/eco/Disbursement.json"
|
|
},
|
|
"/eco/CollectLoan": {
|
|
"$ref": "swagger/paths/eco/CollectLoan.json"
|
|
},
|
|
"/eco/DebtClosureNotification": {
|
|
"$ref": "swagger/paths/eco/DebtClosureNotification.json"
|
|
},
|
|
"/eco/SendSMS": {
|
|
"$ref": "swagger/paths/eco/SendSMS.json"
|
|
}
|
|
},
|
|
"components": {
|
|
"schemas": {
|
|
"AuthenticationRequest": {
|
|
"$ref": "swagger/schemas/eco/AuthenticationRequest.json"
|
|
},
|
|
"AuthenticationResponse": {
|
|
"$ref": "swagger/schemas/eco/AuthenticationResponse.json"
|
|
},
|
|
"DebtClosureNotificationRequest": {
|
|
"$ref": "swagger/schemas/eco/DebtClosureNotificationRequest.json"
|
|
},
|
|
"DebtClosureNotificationResponse": {
|
|
"$ref": "swagger/schemas/eco/DebtClosureNotificationResponse.json"
|
|
},
|
|
"SendSMSRequest": {
|
|
"$ref": "swagger/schemas/eco/SendSMSRequest.json"
|
|
},
|
|
"SendSMSResponse": {
|
|
"$ref": "swagger/schemas/eco/SendSMSResponse.json"
|
|
}
|
|
},
|
|
"securitySchemes": {
|
|
"basicAuth": {
|
|
"type": "http",
|
|
"scheme": "basic"
|
|
},
|
|
"bearerAuth": {
|
|
"type": "http",
|
|
"scheme": "bearer",
|
|
"bearerFormat": "JWT"
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"basicAuth": [],
|
|
"bearerAuth": []
|
|
}
|
|
]
|
|
} |