Skip to content

Commit 0f3bb2b

Browse files
api-clients-generation-pipeline[bot]jirikuncarci.datadog-api-spec
authored
Sync OpenAPI specification with backend (#539)
* disable OAuth in documentation * Regenerate client from commit 028f995 of spec repo Co-authored-by: Jiri Kuncar <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 63f6af8 commit 0f3bb2b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+1029
-245
lines changed

.apigentools-info

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.4.1.dev11",
7-
"regenerated": "2021-09-10 08:47:08.224140",
8-
"spec_repo_commit": "6ca80f8"
7+
"regenerated": "2021-09-10 14:41:31.336614",
8+
"spec_repo_commit": "028f995"
99
},
1010
"v2": {
1111
"apigentools_version": "1.4.1.dev11",
12-
"regenerated": "2021-09-10 08:47:27.709913",
13-
"spec_repo_commit": "6ca80f8"
12+
"regenerated": "2021-09-10 14:41:53.581936",
13+
"spec_repo_commit": "028f995"
1414
}
1515
}
1616
}

.generator/templates/python_doc_auth_partial.mustache

+7-7
Original file line numberDiff line numberDiff line change
@@ -82,15 +82,15 @@ configuration = {{{packageName}}}.Configuration(
8282
{{/isHttpSignature}}
8383
{{/isBasic}}
8484
{{#isOAuth}}
85-
86-
# Configure OAuth2 access token for authorization: {{{name}}}
87-
configuration = {{{packageName}}}.Configuration(
88-
host = "{{{basePath}}}"
89-
)
90-
configuration.access_token = 'YOUR_ACCESS_TOKEN'
85+
{{! TODO enable when OAuth is ready }}
86+
{{! # Configure OAuth2 access token for authorization: {{{name\}\}\} }}
87+
{{! configuration = {{{packageName\}\}\}.Configuration( }}
88+
{{! host = "{{{basePath\}\}\}" }}
89+
{{! ) }}
90+
{{! configuration.access_token = 'YOUR_ACCESS_TOKEN' }}
9191
{{/isOAuth}}
9292
{{/authMethods}}
93+
{{/hasAuthMethods}}
9394
{{#vendorExtensions.x-unstable}}
9495
configuration.unstable_operations["{{operationId}}"] = True
9596
{{/vendorExtensions.x-unstable}}
96-
{{/hasAuthMethods}}

docs/v1/AWSLogsIntegrationApi.md

+2-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/v1/AuthenticationApi.md

+2-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/v1/DashboardListsApi.md

+10-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/v1/DashboardsApi.md

+14-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/v1/DowntimesApi.md

+12-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)