[
https://issues.apache.org/jira/browse/FINERACT-2626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Krishna Mewara resolved FINERACT-2626.
--------------------------------------
Resolution: Implemented
> Add missing rejectedOnDate and withdrawnOnDate fields to Savings Swagger spec
> -----------------------------------------------------------------------------
>
> Key: FINERACT-2626
> URL: https://issues.apache.org/jira/browse/FINERACT-2626
> Project: Apache Fineract
> Issue Type: Improvement
> Components: SDK
> Affects Versions: 1.14.0
> Reporter: Krishna Mewara
> Priority: Major
> Labels: openapi, savings, swagger
>
> The Swagger specification for the Savings Account API is missing the
> `rejectedOnDate` and `withdrawnOnDate` properties in the
> `PostSavingsAccountsAccountIdRequest` model.
>
> When executing the `reject` or `withdrawnByApplicant` commands, the server's
> `SavingsAccountApplicationTransitionApiJsonValidator` correctly validates
> against these fields. However, because they are missing from the Swagger
> spec, generated client SDKs (like the Fineract Feign client) do not expose
> these fields, forcing developers to use raw JSON workarounds.
>
> This should be fixed by adding `rejectedOnDate` and `withdrawnOnDate` to
> `SavingsAccountsApiResourceSwagger.PostSavingsAccountsAccountIdRequest`.
> (Note: The equivalent Loan model `PostLoansLoanIdRequest` already includes
> these fields correctly).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)