dongxiaoman commented on code in PR #8830:
URL: https://github.com/apache/pinot/pull/8830#discussion_r889389874


##########
pinot-server/src/main/java/org/apache/pinot/server/api/resources/MmapDebugResource.java:
##########
@@ -65,11 +75,10 @@ public List<String> getOffHeapSizes() {
   @GET
   @Produces(MediaType.APPLICATION_JSON)
   @Path("/memory/offheap/table/{tableName}")
-  @ApiOperation(value = "Show off heap memory consumed by latest mutable 
segment",
-      notes = "Returns off heap memory consumed by latest consuming segment of 
realtime table")
+  @ApiOperation(value = "Show off heap memory consumed by latest mutable 
segment", notes = "Returns off heap memory "
+      + "consumed by latest consuming segment of realtime table")
   @ApiResponses(value = {
-      @ApiResponse(code = 200, message = "Success"),
-      @ApiResponse(code = 500, message = "Internal server error"),
+      @ApiResponse(code = 200, message = "Success"), @ApiResponse(code = 500, 
message = "Internal server error"),

Review Comment:
   The Swagger annotation is added to the class instead of each endpoints.
    The format change is good catch.



-- 
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...@pinot.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to