healchow commented on code in PR #6087:
URL: https://github.com/apache/inlong/pull/6087#discussion_r990604310


##########
inlong-manager/manager-web/src/main/java/org/apache/inlong/manager/web/controller/StreamSinkController.java:
##########
@@ -85,4 +87,20 @@ public Response<Boolean> delete(@PathVariable Integer id) {
         return Response.success(result);
     }
 
+    @DeleteMapping(value = 
"/sink/deleteByRelatedId/{groupId}/{streamId}/{sinkName}")
+    @OperationLog(operation = OperationType.DELETE)
+    @ApiOperation(value = "Delete stream sink by groupId, streamId and 
sinkName")
+    @ApiImplicitParams({
+            @ApiImplicitParam(name = "groupId", dataTypeClass = String.class, 
readOnly = true),

Review Comment:
   Why add `readOnly` for the API document here?



-- 
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: commits-unsubscr...@inlong.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to