Skip to content

Commit f7de117

Browse files
chore(endpoints): region migration step 3 - remove regions in openapi.yaml (#13029)
1 parent 14e3096 commit f7de117

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

endpoints/getting-started/openapi.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,12 @@
1313
# limitations under the License.
1414

1515
# [START endpoints_swagger_yaml_python]
16-
# [START swagger]
1716
swagger: "2.0"
1817
info:
1918
description: "A simple Google Cloud Endpoints API example."
2019
title: "Endpoints Example"
2120
version: "1.0.0"
2221
host: "echo-api.endpoints.YOUR-PROJECT-ID.cloud.goog"
23-
# [END swagger]
2422
# [END endpoints_swagger_yaml_python]
2523
consumes:
2624
- "application/json"
@@ -106,14 +104,12 @@ definitions:
106104
email:
107105
type: "string"
108106
# [START endpoints_security_definitions_yaml_python]
109-
# [START securityDef]
110107
securityDefinitions:
111108
# This section configures basic authentication with an API key.
112109
api_key:
113110
type: "apiKey"
114111
name: "key"
115112
in: "query"
116-
# [END securityDef]
117113
# [END endpoints_security_definitions_yaml_python]
118114
# This section configures authentication using Google API Service Accounts
119115
# to sign a json web token. This is mostly used for server-to-server

0 commit comments

Comments
 (0)