Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5861d19

Browse filesBrowse files
ryanmatsJon Wayne Parrott
authored andcommitted
Added securityDef region tag to openapi.yaml for documentation purposes (GoogleCloudPlatform#800)
1 parent 0adfa17 commit 5861d19
Copy full SHA for 5861d19

File tree

Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed

‎endpoints/getting-started/openapi.yaml

Copy file name to clipboardExpand all lines: endpoints/getting-started/openapi.yaml
+2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.