Skip to content

Commit 5861d19

Browse files
ryanmatsJon Wayne Parrott
authored and
Jon Wayne Parrott
committed
Added securityDef region tag to openapi.yaml for documentation purposes (GoogleCloudPlatform#800)
1 parent 0adfa17 commit 5861d19

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

endpoints/getting-started/openapi.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,14 @@ definitions:
107107
email:
108108
type: "string"
109109

110+
# [START securityDef]
110111
securityDefinitions:
111112
# This section configures basic authentication with an API key.
112113
api_key:
113114
type: "apiKey"
114115
name: "key"
115116
in: "query"
117+
# [END securityDef]
116118
# This section configures authentication using Google API Service Accounts
117119
# to sign a json web token. This is mostly used for server-to-server
118120
# communication.

0 commit comments

Comments
 (0)