From de6a65bcdb251c2653c02aafc0553ac0c4417723 Mon Sep 17 00:00:00 2001 From: Paul Buser Date: Tue, 9 May 2017 20:47:39 -0700 Subject: [PATCH] Add App Engine-specific "host" field. (#656) * Create openapi-appengine.yaml * Change copyright date to 2017. * Add comment to openapi.yaml about deploying on App Engine. Remove openapi-appengine.yaml. --- endpoints/getting-started/openapi.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/endpoints/getting-started/openapi.yaml b/endpoints/getting-started/openapi.yaml index cf88c724a5a..12f19c79523 100644 --- a/endpoints/getting-started/openapi.yaml +++ b/endpoints/getting-started/openapi.yaml @@ -20,6 +20,9 @@ info: version: "1.0.0" host: "echo-api.endpoints.YOUR-PROJECT-ID.cloud.goog" # [END swagger] +# For App Engine deployments, delete the above "host:" line and remove the "# " +# from the following line. Then change YOUR-PROJECT-ID to your project id. +# host: "YOUR-PROJECT-ID.appspot.com" basePath: "/" consumes: - "application/json"