adamsaghy commented on code in PR #6015:
URL: https://github.com/apache/fineract/pull/6015#discussion_r3474166154
##########
fineract-provider/src/main/java/org/apache/fineract/portfolio/group/api/GroupsApiResource.java:
##########
@@ -357,31 +365,22 @@ public String unassignLoanOfficer(@PathParam("groupId")
@Parameter(description =
@Consumes({ MediaType.APPLICATION_JSON })
@Produces({ MediaType.APPLICATION_JSON })
@Operation(summary = "Update a Group", operationId = "updateGroup",
description = "Updates a Group")
- @RequestBody(required = true, content = @Content(schema =
@Schema(implementation =
GroupsApiResourceSwagger.PutGroupsGroupIdRequest.class)))
- @ApiResponse(responseCode = "200", description = "OK", content =
@Content(schema = @Schema(implementation =
GroupsApiResourceSwagger.PutGroupsGroupIdResponse.class)))
Review Comment:
You can leave the `@ApiResponse(responseCode = "200", description = "OK" `
intact and just remove the `content` part...
--
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]