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

@@ -2095,6 +2095,59 @@ const docTemplate = `{
}
}
},
"/loan-paid-off-letters/branches": {
"get": {
"security": [
{
"BearerAuth": []
}
],
"description": "Returns branches for the selected province (etrap) id for loan paid-off letter forms",
"produces": [
"application/json"
],
"tags": [
"loan-paid-off-letters"
],
"summary": "List branches by province",
"parameters": [
{
"type": "integer",
"description": "Province ID",
"name": "province_id",
"in": "query",
"required": true
},
{
"type": "boolean",
"default": true,
"description": "Only active branches",
"name": "active",
"in": "query"
}
],
"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"
}
}
}
}
},
"/loan-paid-off-letters/{id}": {
"get": {
"security": [