Skip to content

Commit

Permalink
chore: add summary for edge-existence api
Browse files Browse the repository at this point in the history
  • Loading branch information
msgui committed Nov 28, 2023
1 parent 531f389 commit e08b25e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.*;
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit e08b25e

Please sign in to comment.