Skip to content

Commit fa9235a

Browse files
chore(endpoints): migrate regions in endpoints/getting-started/openapi-appengine.yaml (#13015)
* chore(endpoints): add region to openapi-appengine.yaml * chore(endpoints): remove regions to openapi-appengine.yaml
1 parent 3ef8bdc commit fa9235a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

endpoints/getting-started/openapi-appengine.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
# [START endpoints_swagger_yaml_python]
1516
# [START swagger]
1617
swagger: "2.0"
1718
info:
@@ -20,6 +21,7 @@ info:
2021
version: "1.0.0"
2122
host: "YOUR-PROJECT-ID.appspot.com"
2223
# [END swagger]
24+
# [END endpoints_swagger_yaml_python]
2325
consumes:
2426
- "application/json"
2527
produces:
@@ -101,14 +103,12 @@ definitions:
101103
type: "string"
102104
email:
103105
type: "string"
104-
# [START securityDef]
105106
securityDefinitions:
106107
# This section configures basic authentication with an API key.
107108
api_key:
108109
type: "apiKey"
109110
name: "key"
110111
in: "query"
111-
# [END securityDef]
112112
# This section configures authentication using Google API Service Accounts
113113
# to sign a json web token. This is mostly used for server-to-server
114114
# communication.
@@ -160,12 +160,10 @@ securityDefinitions:
160160
# Your OAuth2 client's Client ID must be added here. You can add multiple client IDs to accept tokens form multiple clients.
161161
x-google-audiences: "YOUR-CLIENT-ID"
162162
# This section configures authentication using Firebase Auth.
163-
# [START firebaseAuth]
164163
firebase:
165164
authorizationUrl: ""
166165
flow: "implicit"
167166
type: "oauth2"
168167
x-google-issuer: "https://securetoken.google.com/YOUR-PROJECT-ID"
169168
x-google-jwks_uri: "https://www.googleapis.com/service_accounts/v1/metadata/x509/securetoken@system.gserviceaccount.com"
170169
x-google-audiences: "YOUR-PROJECT-ID"
171-
# [END firebaseAuth]

0 commit comments

Comments
 (0)