oleksii-novikov-onix commented on code in PR #5776:
URL: https://github.com/apache/fineract/pull/5776#discussion_r3129927360


##########
fineract-provider/src/main/java/org/apache/fineract/infrastructure/dataqueries/api/DatatablesApiResource.java:
##########
@@ -229,14 +269,25 @@ public String advancedQuery(@PathParam("datatable") 
@Parameter(description = "da
     @GET
     @Path("{datatable}/{apptableId}")
     @Produces({ MediaType.APPLICATION_JSON })
-    @Operation(summary = "Retrieve Entry(s) from Data Table", description = 
"Gets the entry (if it exists) for data tables that are one to one with the 
application table. \n"
-            + "Gets the entries (if they exist) for data tables that are one 
to many with the application table.\n" + "\n"
-            + "Note: The 'fields' parameter is not available for 
datatables.\n" + "\n" + "ARGUMENTS\n"
-            + "orderoptional Specifies the order in which data is 
returned.genericResultSetoptional, defaults to false If 'true' an optimised 
JSON format is returned suitable for tabular display of data. This format is 
used by the default data tables UI functionality.\n"
-            + "Example Requests:\n" + "\n" + 
"datatables/extra_client_details/1\n" + "\n" + "\n"
-            + "datatables/extra_family_details/1?order=`Date of Birth` desc\n" 
+ "\n" + "\n"
-            + "datatables/extra_client_details/1?genericResultSet=true")
-    @ApiResponse(responseCode = "200", description = "OK", content = 
@Content(schema = @Schema(implementation = HashMap.class)))
+    @Operation(operationId = "getDatatableEntries", summary = "Retrieve 
Entry(s) from Data Table", description = """
+            Gets the entry (if it exists) for data tables that are one to one 
with the application table. \
+            Gets the entries (if they exist) for data tables that are one to 
many with the application table.
+
+            Note: The 'fields' parameter is not available for datatables.
+
+            ARGUMENTS
+            orderoptional Specifies the order in which data is returned.\
+            genericResultSetoptional, defaults to false If 'true' an optimised 
JSON format is returned suitable for \
+            tabular display of data. This format is used by the default data 
tables UI functionality.
+
+            Example Requests:
+
+            datatables/extra_client_details/1
+
+            datatables/extra_family_details/1?order=`Date of Birth` desc
+
+            datatables/extra_client_details/1?genericResultSet=true""")
+    @ApiResponse(responseCode = "200", description = "OK", content = 
@Content(schema = @Schema(implementation = Object.class)))

Review Comment:
   I noticed this problem when I was writing tests



-- 
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]

Reply via email to