@@ -35,6 +35,12 @@ process is explained [here][8] and a quickstart is provided [here][9].
3535- [ Google Cloud Endpoints Frameworks Gradle Plugin] [ 11 ]
3636
3737## Setup
38+ 1 . The hostname used in a genearted Discovery document is set by replacing
39+ ` GOOGLE_CLOUD_PROJECT ` with your project id found in the following files.
40+
41+ - [ Maven - pom.xml] ( pom.xml )
42+ - [ Gradle - build.gradle] ( build.gradle )
43+
38441 . [ Optional] : User Authenticating with Google Accounts in Web Clients
3945
4046 1 . Update the ` WEB_CLIENT_ID ` in [ Constants.java] ( src/main/java/com/example/helloendpoints/Constants.java )
@@ -88,6 +94,11 @@ process is explained [here][8] and a quickstart is provided [here][9].
8894
8995 [http://localhost:8080/_ah/api/explorer][13]
9096
97+ 1. Generate the discovery document located at
98+ `target/discovery-docs/helloworld-v1-rest.discovery` by using:
99+
100+ `mvn endpoints-framework:discoveryDocs`
101+
911021. Generate the client library located at
92103 `target/client-libs/helloworld-v1-java.zip` by using:
93104
@@ -111,6 +122,11 @@ process is explained [here][8] and a quickstart is provided [here][9].
111122
112123 [http://localhost:8080/_ah/api/explorer][13]
113124
125+ 1. Generate the discovery document located at
126+ `build/endpointsDiscoveryDocs/helloworld-v1-rest.discovery` by using:
127+
128+ `gradle endpointsDiscoveryDocs`
129+
1141301. Generate the client library located at
115131 `build/endpointsClientLibs/helloworld-v1-java.zip` by using:
116132
0 commit comments