From e08b25e7792f6ec9f45f05ebc7a5cbe3899fb76a Mon Sep 17 00:00:00 2001 From: M <1216063060@qq.com> Date: Tue, 28 Nov 2023 21:43:00 +0800 Subject: [PATCH] chore: add summary for edge-existence api --- .../org/apache/hugegraph/api/traversers/EdgeExistenceAPI.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hugegraph-server/hugegraph-api/src/main/java/org/apache/hugegraph/api/traversers/EdgeExistenceAPI.java b/hugegraph-server/hugegraph-api/src/main/java/org/apache/hugegraph/api/traversers/EdgeExistenceAPI.java index c2ffb0738a..5bb1b5e907 100644 --- a/hugegraph-server/hugegraph-api/src/main/java/org/apache/hugegraph/api/traversers/EdgeExistenceAPI.java +++ b/hugegraph-server/hugegraph-api/src/main/java/org/apache/hugegraph/api/traversers/EdgeExistenceAPI.java @@ -20,6 +20,7 @@ import static org.apache.hugegraph.traversal.algorithm.HugeTraverser.DEFAULT_LIMIT; import com.codahale.metrics.annotation.Timed; +import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.tags.Tag; import jakarta.inject.Singleton; import jakarta.ws.rs.*; @@ -47,6 +48,7 @@ public class EdgeExistenceAPI extends TraverserAPI { @GET @Timed @Produces(APPLICATION_JSON_WITH_CHARSET) + @Operation(summary = "get edges from 'source' to 'target' vertex") public String get(@Context GraphManager manager, @PathParam("graph") String graph, @QueryParam("source") String source,