//[START all]
package com.example.helloworld;

import com.google.api.server.spi.config.Api;
import com.google.api.server.spi.config.ApiMethod;
import com.google.api.server.spi.config.ApiNamespace;

import javax.inject.Named;

/** An endpoint class we are exposing */
@Api(name = "myApi", version = "v1", namespace = @ApiNamespace(ownerDomain = "helloworld.example.com", ownerName = "helloworld.example.com", packagePath=""))
public class YourFirstAPI {

    /** A simple endpoint method that takes a name and says Hi back */
    @ApiMethod(name = "sayHi")
    public MyBean sayHi(@Named("name") String name) {
        MyBean response = new MyBean();
        response.setData("Hi, " + name);

        return response;
    }

}
//[END all]

@@ -280,16 +280,21 @@
 %22myApi%22,
+%0A    
  version
@@ -301,16 +301,21 @@
  = %22v1%22,
+%0A    
  namespa
@@ -372,16 +372,48 @@
 le.com%22,
+%0A                               
  ownerNa
@@ -442,16 +442,48 @@
 le.com%22,
+%0A                               
  package

Update YourFirstAPI.java