File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 "spec_versions": {
55 "v1": {
66 "apigentools_version": "1.6.6",
7- "regenerated": "2024-12-10 21:05:11.810192 ",
8- "spec_repo_commit": "1c4c91d4 "
7+ "regenerated": "2024-12-11 14:25:06.215881 ",
8+ "spec_repo_commit": "7a9d0200 "
99 },
1010 "v2": {
1111 "apigentools_version": "1.6.6",
12- "regenerated": "2024-12-10 21:05:11.828443 ",
13- "spec_repo_commit": "1c4c91d4 "
12+ "regenerated": "2024-12-11 14:25:06.233821 ",
13+ "spec_repo_commit": "7a9d0200 "
1414 }
1515 }
1616}
Original file line number Diff line number Diff line change @@ -23427,6 +23427,12 @@ components:
2342723427 type: apiKey
2342823428 x-auth-id-alias: appKeyAuth
2342923429 x-env-name: DD_APP_KEY
23430+ bearerAuth:
23431+ in: header
23432+ name: Authorization
23433+ scheme: bearer
23434+ type: http
23435+ x-env-name: DD_BEARER_TOKEN
2343023436info:
2343123437 contact:
2343223438 email: support@datadoghq.com
Original file line number Diff line number Diff line change @@ -27751,6 +27751,12 @@ components:
2775127751 name: DD-APPLICATION-KEY
2775227752 type: apiKey
2775327753 x-env-name: DD_APP_KEY
27754+ bearerAuth:
27755+ in: header
27756+ name: Authorization
27757+ scheme: bearer
27758+ type: http
27759+ x-env-name: DD_BEARER_TOKEN
2775427760info:
2775527761 contact:
2775627762 email: support@datadoghq.com
Original file line number Diff line number Diff line change @@ -518,7 +518,7 @@ class Configuration:
518518 "key": "Authorization",
519519 "value": self.get_basic_auth_token()
520520 }
521- {% - elif schema .type == "http" and schema .scheme == "bearer" %}
521+ {# { %- elif schema.type == "http" and schema.scheme == "bearer" %}
522522 if self.access_token is not None:
523523 auth["{{name}}"] = {
524524 "type": "bearer",
@@ -529,6 +529,7 @@ class Configuration:
529529 "key": "Authorization",
530530 "value": "Bearer " + self.access_token
531531 }
532+ #}
532533{% - elif schema .type == "oauth2" %}
533534 if self.access_token is not None:
534535 auth["AuthZ"] = {
You can’t perform that action at this time.
0 commit comments