Regenerate Swagger docs for loan paid letter branches endpoint.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-12 21:14:18 +05:00
parent 5f6ddc5217
commit 704606b3f5
3 changed files with 141 additions and 0 deletions

View File

@@ -2658,6 +2658,41 @@ paths:
summary: Update loan paid off letter
tags:
- loan-paid-off-letters
/loan-paid-off-letters/branches:
get:
description: Returns branches for the selected province (etrap) id for loan
paid-off letter forms
parameters:
- description: Province ID
in: query
name: province_id
required: true
type: integer
- default: true
description: Only active branches
in: query
name: active
type: boolean
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/appresult.AppSuccess'
"400":
description: Bad Request
schema:
$ref: '#/definitions/appresult.AppError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/appresult.AppError'
security:
- BearerAuth: []
summary: List branches by province
tags:
- loan-paid-off-letters
/loan-types:
get:
description: Returns paginated loan types with optional filters