1 parent 5b753d8 commit 3aacd77Copy full SHA for 3aacd77
1 file changed
appengine-java8/endpoints-v2-migration/src/main/java/com/example/helloendpoints/Greetings.java
@@ -27,8 +27,6 @@
27
28
// [END begin]
29
30
-// [START api_def]
31
-
32
/** Defines v1 of a helloworld API, which provides simple "greeting" methods. */
33
@Api(
34
name = "helloworld",
@@ -45,8 +43,7 @@ public class Greetings {
45
43
greetings.add(new HelloGreeting("hello world!"));
46
44
greetings.add(new HelloGreeting("goodbye world!"));
47
}
48
- // [END api_def]
49
+
50
// [START getgreetings]
51
52
public HelloGreeting getGreeting(@Named("id") Integer id) throws NotFoundException {
0 commit comments