diff --git a/appengine-java8/endpoints-v2-backend/src/main/java/com/example/echo/Echo.java b/appengine-java8/endpoints-v2-backend/src/main/java/com/example/echo/Echo.java index 221c91facac..34d38230845 100644 --- a/appengine-java8/endpoints-v2-backend/src/main/java/com/example/echo/Echo.java +++ b/appengine-java8/endpoints-v2-backend/src/main/java/com/example/echo/Echo.java @@ -84,12 +84,10 @@ public Message echo(Message message, @Named("n") @Nullable Integer n) { *
Note that httpMethod is not specified. This will default to a reasonable HTTP method * depending on the API method name. In this case, the HTTP method will default to POST. */ - // [START echo_path] @ApiMethod(name = "echo_path_parameter", path = "echo/{n}") public Message echoPathParameter(Message message, @Named("n") int n) { return doEcho(message, n); } - // [END echo_path] /** * Echoes the received message back. If n is a non-negative integer, the message is copied that