From 6ffcfede8e700e31b002d30431674c74ef5dd893 Mon Sep 17 00:00:00 2001 From: Wesley Wong Date: Sun, 25 Dec 2016 14:47:14 -0800 Subject: [PATCH] Updates the Endpoints Java Framework sample README (#463) --- appengine/endpoints-frameworks-v2/backend/.gitignore | 1 + appengine/endpoints-frameworks-v2/backend/README.md | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/appengine/endpoints-frameworks-v2/backend/.gitignore b/appengine/endpoints-frameworks-v2/backend/.gitignore index 168aa9434f5..efff06ec4bd 100644 --- a/appengine/endpoints-frameworks-v2/backend/.gitignore +++ b/appengine/endpoints-frameworks-v2/backend/.gitignore @@ -1 +1,2 @@ +openapi.json swagger.json diff --git a/appengine/endpoints-frameworks-v2/backend/README.md b/appengine/endpoints-frameworks-v2/backend/README.md index e911281e9af..4c226cda3b0 100644 --- a/appengine/endpoints-frameworks-v2/backend/README.md +++ b/appengine/endpoints-frameworks-v2/backend/README.md @@ -27,9 +27,9 @@ To build the project: mvn clean package -## Generating the swagger.json file +## Generating the openapi.json file -To generate the required configuration file `swagger.json`: +To generate the required configuration file `openapi.json`: mvn exec:java -DGetSwaggerDoc @@ -39,7 +39,7 @@ To deploy the sample API: 0. Invoke the `gcloud` command to deploy the API configuration file: - gcloud beta service-management deploy swagger.json + gcloud service-management deploy openapi.json 0. Deploy the API implementation code by invoking: