diff --git a/endpoints/getting-started/container-engine.yaml b/endpoints/getting-started/container-engine.yaml index 3fbd189e3648..f3000ec2551e 100644 --- a/endpoints/getting-started/container-engine.yaml +++ b/endpoints/getting-started/container-engine.yaml @@ -46,6 +46,7 @@ spec: secret: secretName: nginx-ssl containers: + # [START esp] - name: esp image: b.gcr.io/endpoints/endpoints-runtime:0.3 args: [ @@ -55,6 +56,7 @@ spec: "-s", "SERVICE_NAME", "-v", "SERVICE_VERSION", ] + # [END esp] ports: - containerPort: 8080 - containerPort: 443 diff --git a/endpoints/getting-started/swagger.yaml b/endpoints/getting-started/swagger.yaml index b2f6c8d5245b..b284ff3a00a7 100644 --- a/endpoints/getting-started/swagger.yaml +++ b/endpoints/getting-started/swagger.yaml @@ -1,9 +1,11 @@ +# [START swagger] swagger: "2.0" info: description: "A simple Google Cloud Endpoints API example." title: "Endpoints Example" version: "1.0.0" host: "YOUR-PROJECT-ID.appspot.com" +# [END swagger] basePath: "/" consumes: - "application/json"