api response changed to JsonArray for {datatable}/{apptableId} (FINERACT-1373)

This commit is contained in:
Danish Jamal
2021-09-05 21:34:59 +08:00
committed by Petri Tuomola
parent c46e228ad8
commit a38659f22d
@@ -27,6 +27,7 @@ import io.swagger.v3.oas.annotations.parameters.RequestBody;
import io.swagger.v3.oas.annotations.responses.ApiResponse;
import io.swagger.v3.oas.annotations.responses.ApiResponses;
import io.swagger.v3.oas.annotations.tags.Tag;
import java.util.HashMap;
import java.util.List;
import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
@@ -229,7 +230,7 @@ public class DatatablesApiResource {
+ "datatables/extra_family_details/1?order=`Date of Birth` desc\n" + "\n" + "\n"
+ "datatables/extra_client_details/1?genericResultSet=true")
@ApiResponses({
@ApiResponse(responseCode = "200", description = "OK", content = @Content(schema = @Schema(implementation = DatatablesApiResourceSwagger.GetDataTablesAppTableIdResponse.class))) })
@ApiResponse(responseCode = "200", description = "OK", content = @Content(schema = @Schema(implementation = HashMap.class))) })
public String getDatatable(@PathParam("datatable") @Parameter(description = "datatable") final String datatable,
@PathParam("apptableId") @Parameter(description = "apptableId") final Long apptableId,
@QueryParam("order") @Parameter(description = "order") final String order, @Context final UriInfo uriInfo) {