Skip to content

Commit 0b9108c

Browse files
jasminejaksic-zzbshaffer
authored andcommitted
Replaced 'swagger.yaml' with openapi.yaml. Refer to b/32670418.
1 parent fdce608 commit 0b9108c

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

endpoints/getting-started/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ The JWT client demonstrates how to use service accounts to authenticate to endpo
6161

6262
To use the service account for authentication:
6363

64-
1. Update the `google_jwt`'s `x-jwks_uri` in `swagger.yaml` with your service account's email address.
64+
1. Update the `google_jwt`'s `x-jwks_uri` in `openapi.yaml` with your service account's email address.
6565
2. Redeploy your application.
6666

6767
Now you can use the JWT client to make requests to the API:
@@ -79,7 +79,7 @@ The ID Token client demonstrates how to use user credentials to authenticate to
7979

8080
To use the client ID for authentication:
8181

82-
1. Update the `/auth/info/googleidtoken`'s `audiences` in `swagger.yaml` with your client ID.
82+
1. Update the `/auth/info/googleidtoken`'s `audiences` in `openapi.yaml` with your client ID.
8383
2. Redeploy your application.
8484

8585
Now you can use the client ID to make requests to the API:

endpoints/getting-started/app.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ beta_settings:
55
# Enable Google Cloud Endpoints API management.
66
use_endpoints_api_management: true
77
# Specify the Swagger API specification.
8-
endpoints_swagger_spec_file: swagger.yaml
8+
endpoints_swagger_spec_file: openapi.yaml

endpoints/getting-started/test/DeployTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ public static function beforeDeploy()
5959
$swagger = str_replace(
6060
['YOUR-PROJECT-ID', 'YOUR-CLIENT-ID', 'YOUR-SERVICE-ACCOUNT-EMAIL'],
6161
[self::getProjectId(), $clientId, $serviceAccountEmail],
62-
file_get_contents('swagger.yaml')
62+
file_get_contents('openapi.yaml')
6363
);
64-
file_put_contents($tmpDir . '/swagger.yaml', $swagger);
64+
file_put_contents($tmpDir . '/openapi.yaml', $swagger);
6565
}
6666

6767
/**

0 commit comments

Comments
 (0)