File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
endpoints/getting-started Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
+ # [START endpoints_swagger_yaml_python]
15
16
# [START swagger]
16
17
swagger : " 2.0"
17
18
info :
20
21
version : " 1.0.0"
21
22
host : " YOUR-PROJECT-ID.appspot.com"
22
23
# [END swagger]
24
+ # [END endpoints_swagger_yaml_python]
23
25
consumes :
24
26
- " application/json"
25
27
produces :
@@ -101,14 +103,12 @@ definitions:
101
103
type : " string"
102
104
email :
103
105
type : " string"
104
- # [START securityDef]
105
106
securityDefinitions :
106
107
# This section configures basic authentication with an API key.
107
108
api_key :
108
109
type : " apiKey"
109
110
name : " key"
110
111
in : " query"
111
- # [END securityDef]
112
112
# This section configures authentication using Google API Service Accounts
113
113
# to sign a json web token. This is mostly used for server-to-server
114
114
# communication.
@@ -160,12 +160,10 @@ securityDefinitions:
160
160
# Your OAuth2 client's Client ID must be added here. You can add multiple client IDs to accept tokens form multiple clients.
161
161
x-google-audiences : " YOUR-CLIENT-ID"
162
162
# This section configures authentication using Firebase Auth.
163
- # [START firebaseAuth]
164
163
firebase :
165
164
authorizationUrl : " "
166
165
flow : " implicit"
167
166
type : " oauth2"
168
167
x-google-issuer : " https://securetoken.google.com/YOUR-PROJECT-ID"
169
168
x-google-jwks_uri : " https://www.googleapis.com/service_accounts/v1/metadata/x509/securetoken@system.gserviceaccount.com"
170
169
x-google-audiences : " YOUR-PROJECT-ID"
171
- # [END firebaseAuth]
You can’t perform that action at this time.
0 commit comments