Copilot commented on code in PR #2969:
URL: https://github.com/apache/hugegraph/pull/2969#discussion_r2936797341
##########
hugegraph-server/hugegraph-api/src/main/java/org/apache/hugegraph/api/graph/VertexAPI.java:
##########
@@ -225,14 +238,24 @@ public String update(@Context GraphManager manager,
@RolesAllowed({"space", "$graphspace=$graphspace $owner=$graph " +
"$action=vertex_read"})
public String list(@Context GraphManager manager,
+ @Parameter(description = "The graph space name")
@PathParam("graphspace") String graphSpace,
+ @Parameter(description = "The graph name")
@PathParam("graph") String graph,
+ @Parameter(description = "Filter by vertex label")
@QueryParam("label") String label,
+ @Parameter(description = "Filter by vertex properties
in JSON format, " +
+ "e.g., {\"key1\": \"value1\",
\"key2\": \"value2\"}")
Review Comment:
This wrapped `@Parameter` description line exceeds the 100-character
Checkstyle LineLength limit (style/checkstyle.xml max=100) because the
continuation line is indented to align under `description =` and also contains
many escaped quotes. This will fail `maven-checkstyle-plugin` during the
validate phase. Please shorten the example or split the example string further
so each physical line stays <= 100 characters.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]