Aman-Mittal opened a new issue, #397:
URL: https://github.com/apache/fineract-backoffice-ui/issues/397
Part of #395.
## Problem
`public/api/fineract.json` is stale against `apache/fineract:latest`.
Re-syncing it moves the spec from 1472 to 1475 schemas and, among other
changes, gives `POST /interoperation/transactions/{accountId}/loanrepayment` a
request body where it previously accepted none.
`interop-transfers.component.ts` calls that operation with the account ID
only:
```ts
this.interopService
.postInteroperationTransactionsAccountIdLoanrepayment(this.disburseAccountId)
```
Every field on the new body is optional, so this still compiles after a
regeneration — it just posts nothing where every other Fineract command on this
screen sends `dateFormat` and `locale`. A command with no locale is at the
mercy of the backend's default date parsing.
## Expected
- The generated client under `src/app/api` matches the current upstream
spec, with `public/api/fineract.provenance.json` recording the digest it came
from.
- The interop loan repayment call sends at minimum `dateFormat` and
`locale`, consistent with the other commands on the screen.
## Notes
Regeneration is `npm run generate-api`; `npm run verify-api-client` must
stay clean afterwards. Provenance is written by
`.github/workflows/api-spec-sync.yml` and is not hand-edited.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]