diff --git a/.apigentools-info b/.apigentools-info index df0a7e360ab..654b04708e9 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.5.1.dev2", - "regenerated": "2021-10-01 10:29:33.709287", - "spec_repo_commit": "bc91052" + "regenerated": "2021-10-07 07:33:28.923748", + "spec_repo_commit": "7a4f3f3" }, "v2": { "apigentools_version": "1.5.1.dev2", - "regenerated": "2021-10-01 10:30:17.357619", - "spec_repo_commit": "bc91052" + "regenerated": "2021-10-07 07:34:35.411310", + "spec_repo_commit": "7a4f3f3" } } } \ No newline at end of file diff --git a/README.md b/README.md index e0aeb34871e..55dde36a6d6 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,22 @@ apiInstance.getMonitor(params).then((data:any) => { ``` +### Disable compressed payloads + +If you want to disable GZIP compressed responses, set the `compress` flag +on your configuration options: + +```typescript +import { v1 } from '@datadog/datadog-api-client'; +const configurationOpts = { + httpConfig: { + compress: false + }, +}; + +const configuration = v1.createConfiguration(configurationOpts); +``` + ## Documentation Documentation for API endpoints can be found under the docs subdirectories, in [v1](/docs/v1/)