The API Documentation helps developers build apps on top of Apache Fineract CN platform.
Apache Fineract CN is an application framework for digital financial services, a system to support nationwide and cross-national financial transactions and help to level and speed the creation of an inclusive, interconnected digital economy for every nation in the world.
Running the unit tests to generate snippets used for documentation involves you assigning values to the snippets, sourceDir and outputDir variables of the 'asciidoctor' task in component-test module's build.gradle file.
Run the unit tests in the test classes as indicated in table below so that passing unit tests get snippets generated in snippets folder ( 'build/doc/generated-snippets/' by default ). The table below shows documented services and corresponding test classes containing updated unit tests.
Create an api-docs.adoc file in sourceDir ( 'build/doc/asciidoc/' by default ) which references your recently generated snippets.
Run ‘gradle asciidoctor' to get the api-docs.html file generated in the outputDir folder ( 'build/doc/html5/' by default )
This table will be updated in case more files are changed for API documentation purposes.
Service | Concerned Test Classes |
fineract-cn-identity | TestUsers.java and TestRoles.java |
fineract-cn-office | TestEmployee.java and TestOffice.java |
fineract-cn-customer | TestCustomer.java and TestIdentificationCards.java |
fineract-cn-group | TestGroup.java and TestGroupDefinition.java |
fineract-cn-accounting | TestAccount.java, TestLedger.java, TestJournalEntry.java and TestTransactionType.java |
fineract-cn-portfolio | TestCases.java, TestChargeDefinitions.java, TestPatterns.java, TestProducts.java, TestTaskDefinitions.java and TestTaskInstances.java |
fineract-cn-deposit-account-management | TestActions.java, TestProductDefiniton.java and TestProductInstance.java |
fineract-cn-payroll | TestPayrollConfigutation.java |
fineract-cn-teller | TestTellerManagement.java and TestTellerOperation.java |