Skip to content

Commit 3e8ebfa

Browse files
authored
Merge branch 'master' into update-endpoints-sample
2 parents 7dd2a0b + 853233b commit 3e8ebfa

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

endpoints/getting-started/openapi.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ info:
2020
version: "1.0.0"
2121
host: "echo-api.endpoints.YOUR-PROJECT-ID.cloud.goog"
2222
# [END swagger]
23+
# For App Engine deployments, delete the above "host:" line and remove the "# "
24+
# from the following line. Then change YOUR-PROJECT-ID to your project id.
25+
# host: "YOUR-PROJECT-ID.appspot.com"
2326
basePath: "/"
2427
consumes:
2528
- "application/json"

flexible/pubsub/src/main/java/com/example/flexible/pubsub/PubSubPublish.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ public void doPost(HttpServletRequest req, HttpServletResponse resp)
5151
publisher.publish(pubsubMessage);
5252
// redirect to home page
5353
resp.sendRedirect("/");
54-
// [END publish]
5554
} catch (Exception e) {
5655
resp.sendError(HttpStatus.SC_INTERNAL_SERVER_ERROR, e.getMessage());
5756
}

0 commit comments

Comments
 (0)