Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The API Documentation helps developers build apps on top of Apache Fineract CN platform.

Running the component tests unit tests in the component-test module 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. 

  1. Run each of 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.

  2. Create an api-docs.adoc file in sourceDir ( 'build/doc/asciidoc/' by default ) which references your recently generated snippets.

  3. Run ‘gradle asciidoctor' to get the api-docs.html file generated in the outputDir folder ( 'build/doc/html5/' by default )

...

 

Service

Concerned Test Classes

fineract-cn-identity

TestUsers.java and TestRoles.java

fineract-cn-office

TestEmployee.java and TestOffice.java

fineract-cn-customer

TestCustomerCustomerApiDocumentation.java and TestIdentificationCardsIdentificationApiDocumentation.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