diff --git a/app/api/services/__init__.py b/app/api/services/__init__.py index 104ca8b..c8287dc 100644 --- a/app/api/services/__init__.py +++ b/app/api/services/__init__.py @@ -5,4 +5,4 @@ from app.api.services.transaction_service import TransactionService from app.api.services.loan_service import LoanService from app.api.services.auth_service import AuthService from app.api.services.dashboard_service import DashboardService -from app.api.services.repayment import RepaymentService +from app.api.services.repayment_service import RepaymentService diff --git a/app/api/services/repayment.py b/app/api/services/repayment_service.py similarity index 100% rename from app/api/services/repayment.py rename to app/api/services/repayment_service.py diff --git a/app/swagger/paths/AuthorizeRefresh.json b/app/swagger/paths/AuthorizeRefresh.json deleted file mode 100644 index a5f19ee..0000000 --- a/app/swagger/paths/AuthorizeRefresh.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "post": { - "tags": ["Authorize Refresh"], - "summary": "Customer Authorize Refresh Request", - "description": "Customer Authorize Refresh Request", - "operationId": "AuthorizeRefresh", - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "../schemas/AuthorizeRefreshRequest.json" - } - }, - "application/xml": { - "schema": { - "$ref": "../schemas/AuthorizeRefreshRequest.json" - } - }, - "application/x-www-form-urlencoded": { - "schema": { - "$ref": "../schemas/AuthorizeRefreshRequest.json" - } - } - } - }, - "responses": { - "200": { - "description": "Successful operation", - "content": { - "application/json": { - "schema": { - "$ref": "../schemas/AuthorizeRefreshResponse.json" - } - }, - "application/xml": { - "schema": { - "$ref": "../schemas/AuthorizeRefreshResponse.json" - } - } - } - }, - "400": { - "description": "Invalid request parameters" - }, - "422": { - "description": "Validation exception" - }, - "500": { - "description": "Internal server error" - } - } - } -} diff --git a/app/swagger/schemas/AuthorizeRefreshRequest.json b/app/swagger/schemas/AuthorizeRefreshRequest.json deleted file mode 100644 index bdee421..0000000 --- a/app/swagger/schemas/AuthorizeRefreshRequest.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "type": "object", - "properties": {}, - "xml": { - "name": "AuthorizeRefreshRequest" - } -} diff --git a/app/swagger/schemas/AuthorizeRefreshResponse.json b/app/swagger/schemas/AuthorizeRefreshResponse.json deleted file mode 100644 index e23094e..0000000 --- a/app/swagger/schemas/AuthorizeRefreshResponse.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "type": "object", - "properties": { - "access_token": { - "type": "string", - "example": "access_token" - } - }, - "xml": { - "name": "AuthorizeRefreshResponse" - } -}