[add]: eco endpoints and dummy responses
This commit is contained in:
@@ -0,0 +1,128 @@
|
||||
{
|
||||
"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": "./schemas/eco/AuthenticationRequest.json"
|
||||
},
|
||||
"AuthenticationResponse": {
|
||||
"$ref": "./schemas/eco/AuthenticationResponse.json"
|
||||
},
|
||||
"DebtClosureNotificationRequest": {
|
||||
"$ref": "./schemas/eco/DebtClosureNotificationRequest.json"
|
||||
},
|
||||
"DebtClosureNotificationResponse": {
|
||||
"$ref": "./schemas/eco/DebtClosureNotificationResponse.json"
|
||||
},
|
||||
"SendSMSRequest": {
|
||||
"$ref": "./schemas/eco/SendSMSRequest.json"
|
||||
},
|
||||
"SendSMSResponse": {
|
||||
"$ref": "./schemas/eco/SendSMSResponse.json"
|
||||
}
|
||||
},
|
||||
"securitySchemes": {
|
||||
"basicAuth": {
|
||||
"type": "http",
|
||||
"scheme": "basic"
|
||||
},
|
||||
"bearerAuth": {
|
||||
"type": "http",
|
||||
"scheme": "bearer",
|
||||
"bearerFormat": "JWT"
|
||||
}
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"basicAuth": [],
|
||||
"bearerAuth": []
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user