component-test/src/main/java/org/apache/fineract/cn/accounting/AccountApiDocumentation.java [538:563]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                    requestFields(
                            fieldWithPath("accounts").type("List<Account>").description("List of Accounts"),
                            fieldWithPath("accounts[].type").description("AccountType").description("Type of first Account " +
                                    " + \n" +
                                    " + \n" +
                                    " *enum* _AccountType_ { + \n" +
                                    "  ASSET, + \n" +
                                    "  LIABILITY, + \n" +
                                    "  EQUITY, + \n" +
                                    "  REVENUE, + \n" +
                                    "  EXPENSE + \n" +
                                    "}"),
                            fieldWithPath("accounts[].identifier").type("String").description("first account identifier"),
                            fieldWithPath("accounts[].name").type("String").description("first account name"),
                            fieldWithPath("accounts[].holders").type("Set<String>").description("Set of account holders"),
                            fieldWithPath("accounts[].signatureAuthorities").type("Set<String>").description("Set of signatories to account"),
                            fieldWithPath("accounts[].balance").type("Double").description("first account's balance"),
                            fieldWithPath("accounts[].ledger").type("String").description("Associated ledger"),
                            fieldWithPath("totalPages").type("Integer").description("Total pages"),
                            fieldWithPath("totalElements").type("Integer").description("Total accounts in page")
                    ),
                    responseFields(
                            fieldWithPath("accounts").type("List<Account>").description("List of Accounts"),
                            fieldWithPath("totalPages").type("Integer").description("Total number of pages"),
                            fieldWithPath("totalElements").type("String").description("Total number of elements")
                    )));
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



component-test/src/main/java/org/apache/fineract/cn/accounting/LedgerApiDocumentation.java [413:438]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                    requestFields(
                            fieldWithPath("accounts").type("List<Account>").description("List of Accounts"),
                            fieldWithPath("accounts[].type").description("AccountType").description("Type of first Account " +
                                    " + \n" +
                                    " + \n" +
                                    " *enum* _AccountType_ { + \n" +
                                    "  ASSET, + \n" +
                                    "  LIABILITY, + \n" +
                                    "  EQUITY, + \n" +
                                    "  REVENUE, + \n" +
                                    "  EXPENSE + \n" +
                                    "}"),
                            fieldWithPath("accounts[].identifier").type("String").description("first account identifier"),
                            fieldWithPath("accounts[].name").type("String").description("first account name"),
                            fieldWithPath("accounts[].holders").type("Set<String>").description("Set of account holders"),
                            fieldWithPath("accounts[].signatureAuthorities").type("Set<String>").description("Set of signatories to account"),
                            fieldWithPath("accounts[].balance").type("Double").description("first account's balance"),
                            fieldWithPath("accounts[].ledger").type("String").description("Associated ledger"),
                            fieldWithPath("totalPages").type("Integer").description("Total pages"),
                            fieldWithPath("totalElements").type("Integer").description("Total accounts in page")
                    ),
                    responseFields(
                            fieldWithPath("accounts").type("List<Account>").description("List of Accounts"),
                            fieldWithPath("totalPages").type("Integer").description("Total number of pages"),
                            fieldWithPath("totalElements").type("String").description("Total number of elements")
                    )));
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



