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 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]
1617swagger : " 2.0"
1718info :
2021 version : " 1.0.0"
2122host : " YOUR-PROJECT-ID.appspot.com"
2223# [END swagger]
24+ # [END endpoints_swagger_yaml_python]
2325consumes :
2426- " application/json"
2527produces :
@@ -101,14 +103,12 @@ definitions:
101103 type : " string"
102104 email :
103105 type : " string"
104- # [START securityDef]
105106securityDefinitions :
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/[email protected] " 170169 x-google-audiences : " YOUR-PROJECT-ID"
171- # [END firebaseAuth]
You can’t perform that action at this time.
0 commit comments