adamsaghy commented on code in PR #6115:
URL: https://github.com/apache/fineract/pull/6115#discussion_r3597062007


##########
fineract-provider/src/main/java/org/apache/fineract/infrastructure/jobs/api/SchedulerJobApiResource.java:
##########
@@ -180,7 +177,7 @@ public Response executeJobByShortName(
     @Consumes({ MediaType.APPLICATION_JSON })
     @Operation(summary = "Update a Job", description = "Updates the details of 
a job.")
     @RequestBody(required = true, content = @Content(schema = 
@Schema(implementation = 
SchedulerJobApiResourceSwagger.PutJobsJobIDRequest.class)))
-    @ApiResponse(responseCode = "200", description = "OK")
+    @ApiResponse(responseCode = "200", description = "OK", content = 
@Content(schema = @Schema(implementation = 
SchedulerJobApiResourceSwagger.PutJobsJobIDResponse.class)))

Review Comment:
   Since we touch this, please rather return `CommandProcessingResult` directly 
and we dont need to define any swagger response object...



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