Skip to content

Commit 62df113

Browse files
jasminejaksiclesv
authored andcommitted
Replaced 'swagger.yaml' with openapi.yaml. Refer to b/32670418. (GoogleCloudPlatform#426)
* Replaced 'swagger.yaml' with openapi.yaml. Refer to b/32670418. * Updating Swagger API references
1 parent 552db5c commit 62df113

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

endpoints/getting-started/src/main/appengine/app.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ handlers:
99
beta_settings:
1010
# Enable Google Cloud Endpoints API management.
1111
use_endpoints_api_management: true
12-
# Specify the Swagger API specification.
13-
endpoints_swagger_spec_file: swagger.yaml
12+
# Specify the Open API specification.
13+
endpoints_swagger_spec_file: openapi.yaml

endpoints/getting-started/src/main/java/com/example/endpoints/AuthInfoServlet.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
/**
3131
* A servlet that returns authentication information.
32-
* See swagger.yaml for authentication mechanisms (e.g. JWT tokens, Google ID token).
32+
* See openapi.yaml for authentication mechanisms (e.g. JWT tokens, Google ID token).
3333
*/
3434
@WebServlet("/auth/info/*")
3535
public class AuthInfoServlet extends HttpServlet {

flexible/endpoints/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Google Cloud Endpoints on App Engine flexible environment
22
This sample demonstrates how to use Google Cloud Endpoints on Google App Engine Flexible Environment using Java.
33

4-
## Edit the Swagger API specification
4+
## Edit the Open API specification
55

6-
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.
6+
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.
77

88
## Running locally
99
$ mvn jetty:run

flexible/endpoints/src/main/appengine/app.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ handlers:
99
beta_settings:
1010
# Enable Google Cloud Endpoints API management.
1111
use_endpoints_api_management: true
12-
# Specify the Swagger API specification.
13-
endpoints_swagger_spec_file: swagger.yaml
12+
# Specify the Open API specification.
13+
endpoints_swagger_spec_file: openapi.yaml

flexible/endpoints/src/main/java/com/example/endpoints/AuthInfoServlet.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
/**
3131
* A servlet that returns authentication information.
32-
* See swagger.yaml for authentication mechanisms (e.g. JWT tokens, Google ID token).
32+
* See openapi.yaml for authentication mechanisms (e.g. JWT tokens, Google ID token).
3333
*/
3434
@WebServlet("/auth/info/*")
3535
public class AuthInfoServlet extends HttpServlet {

0 commit comments

Comments
 (0)