Skip to content

Commit

Permalink
Sync OpenAPI specification with backend (#539)
Browse files Browse the repository at this point in the history
* disable OAuth in documentation

* Regenerate client from commit 028f995 of spec repo

Co-authored-by: Jiri Kuncar <jiri.kuncar@gmail.com>
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 <packages@datadoghq.com>
  • Loading branch information
3 people authored Sep 10, 2021
1 parent 63f6af8 commit 0f3bb2b
Show file tree
Hide file tree
Showing 50 changed files with 1,029 additions and 245 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.4.1.dev11",
"regenerated": "2021-09-10 08:47:08.224140",
"spec_repo_commit": "6ca80f8"
"regenerated": "2021-09-10 14:41:31.336614",
"spec_repo_commit": "028f995"
},
"v2": {
"apigentools_version": "1.4.1.dev11",
"regenerated": "2021-09-10 08:47:27.709913",
"spec_repo_commit": "6ca80f8"
"regenerated": "2021-09-10 14:41:53.581936",
"spec_repo_commit": "028f995"
}
}
}
14 changes: 7 additions & 7 deletions .generator/templates/python_doc_auth_partial.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,15 @@ configuration = {{{packageName}}}.Configuration(
{{/isHttpSignature}}
{{/isBasic}}
{{#isOAuth}}

# Configure OAuth2 access token for authorization: {{{name}}}
configuration = {{{packageName}}}.Configuration(
host = "{{{basePath}}}"
)
configuration.access_token = 'YOUR_ACCESS_TOKEN'
{{! TODO enable when OAuth is ready }}
{{! # Configure OAuth2 access token for authorization: {{{name\}\}\} }}
{{! configuration = {{{packageName\}\}\}.Configuration( }}
{{! host = "{{{basePath\}\}\}" }}
{{! ) }}
{{! configuration.access_token = 'YOUR_ACCESS_TOKEN' }}
{{/isOAuth}}
{{/authMethods}}
{{/hasAuthMethods}}
{{#vendorExtensions.x-unstable}}
configuration.unstable_operations["{{operationId}}"] = True
{{/vendorExtensions.x-unstable}}
{{/hasAuthMethods}}
3 changes: 2 additions & 1 deletion docs/v1/AWSLogsIntegrationApi.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion docs/v1/AuthenticationApi.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 10 additions & 5 deletions docs/v1/DashboardListsApi.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 14 additions & 7 deletions docs/v1/DashboardsApi.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 12 additions & 6 deletions docs/v1/DowntimesApi.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0f3bb2b

Please sign in to comment.