Skip to content

Commit 07dc919

Browse files
committed
Add region tags to endpoints example.
1 parent 920eb69 commit 07dc919

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

endpoints/getting-started/container-engine.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ spec:
4646
secret:
4747
secretName: nginx-ssl
4848
containers:
49+
# [START esp]
4950
- name: esp
5051
image: b.gcr.io/endpoints/endpoints-runtime:0.3
5152
args: [
@@ -55,6 +56,7 @@ spec:
5556
"-s", "SERVICE_NAME",
5657
"-v", "SERVICE_VERSION",
5758
]
59+
# [END esp]
5860
ports:
5961
- containerPort: 8080
6062
- containerPort: 443

endpoints/getting-started/swagger.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
# [START swagger]
12
swagger: "2.0"
23
info:
34
description: "A simple Google Cloud Endpoints API example."
45
title: "Endpoints Example"
56
version: "1.0.0"
67
host: "YOUR-PROJECT-ID.appspot.com"
8+
# [END swagger]
79
basePath: "/"
810
consumes:
911
- "application/json"

0 commit comments

Comments
 (0)