Skip to content

Replaced 'swagger.yaml' with openapi.yaml. Refer to b/32670418. #426

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 30, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions endpoints/getting-started/src/main/appengine/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ handlers:
beta_settings:
# Enable Google Cloud Endpoints API management.
use_endpoints_api_management: true
# Specify the Swagger API specification.
endpoints_swagger_spec_file: swagger.yaml
# Specify the Open API specification.
endpoints_swagger_spec_file: openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

/**
* A servlet that returns authentication information.
* See swagger.yaml for authentication mechanisms (e.g. JWT tokens, Google ID token).
* See openapi.yaml for authentication mechanisms (e.g. JWT tokens, Google ID token).
*/
@WebServlet("/auth/info/*")
public class AuthInfoServlet extends HttpServlet {
Expand Down
4 changes: 2 additions & 2 deletions flexible/endpoints/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Google Cloud Endpoints on App Engine flexible environment
This sample demonstrates how to use Google Cloud Endpoints on Google App Engine Flexible Environment using Java.

## Edit the Swagger API specification
## Edit the Open API specification

Open the [src/main/appengine/swagger.yaml](src/main/appengine/swagger.yaml) file in your favorite editor, and replace the YOUR-PROJECT-ID `host` line with your actual Google Cloud Platform project Id.
Open the [src/main/appengine/openapi.yaml](src/main/appengine/openapi.yaml) file in your favorite editor, and replace the YOUR-PROJECT-ID `host` line with your actual Google Cloud Platform project Id.

## Running locally
$ mvn jetty:run
Expand Down
4 changes: 2 additions & 2 deletions flexible/endpoints/src/main/appengine/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ handlers:
beta_settings:
# Enable Google Cloud Endpoints API management.
use_endpoints_api_management: true
# Specify the Swagger API specification.
endpoints_swagger_spec_file: swagger.yaml
# Specify the Open API specification.
endpoints_swagger_spec_file: openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

/**
* A servlet that returns authentication information.
* See swagger.yaml for authentication mechanisms (e.g. JWT tokens, Google ID token).
* See openapi.yaml for authentication mechanisms (e.g. JWT tokens, Google ID token).
*/
@WebServlet("/auth/info/*")
public class AuthInfoServlet extends HttpServlet {
Expand Down