Skip to content

Commit

Permalink
Regenerate client from commit a0867244 of spec repo (#850)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <[email protected]>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Oct 5, 2022
1 parent 5015891 commit 8ce1708
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 11 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.6.4",
"regenerated": "2022-10-04 17:11:51.478214",
"spec_repo_commit": "abff3edb"
"regenerated": "2022-10-05 17:41:22.153995",
"spec_repo_commit": "a0867244"
},
"v2": {
"apigentools_version": "1.6.4",
"regenerated": "2022-10-04 17:11:51.495219",
"spec_repo_commit": "abff3edb"
"regenerated": "2022-10-05 17:41:22.165918",
"spec_repo_commit": "a0867244"
}
}
}
5 changes: 2 additions & 3 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28539,8 +28539,7 @@ paths:
- Usage Metering
/api/v1/usage/summary:
get:
description: Get usage across your multi-org account. You must have the multi-org
feature enabled.
description: Get all usage across your account.
operationId: GetUsageSummary
parameters:
- description: 'Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]`
Expand Down Expand Up @@ -28597,7 +28596,7 @@ paths:
appKeyAuth: []
- AuthZ:
- usage_read
summary: Get usage across your multi-org account
summary: Get usage across your account
tags:
- Usage Metering
/api/v1/usage/synthetics:
Expand Down
2 changes: 1 addition & 1 deletion examples/v1/usage-metering/GetUsageSummary.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Get usage across your multi-org account returns "OK" response
* Get usage across your account returns "OK" response
*/

import { client, v1 } from "@datadog/datadog-api-client";
Expand Down
4 changes: 2 additions & 2 deletions features/v1/usage_metering.feature
Original file line number Diff line number Diff line change
Expand Up @@ -721,14 +721,14 @@ Feature: Usage Metering
Then the response status is 200 OK

@generated @skip @team:DataDog/red-zone-revenue-query
Scenario: Get usage across your multi-org account returns "Bad Request" response
Scenario: Get usage across your account returns "Bad Request" response
Given new "GetUsageSummary" request
And request contains "start_month" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:DataDog/red-zone-revenue-query
Scenario: Get usage across your multi-org account returns "OK" response
Scenario: Get usage across your account returns "OK" response
Given new "GetUsageSummary" request
And request contains "start_month" parameter from "REPLACE.ME"
When the request is sent
Expand Down
2 changes: 1 addition & 1 deletion packages/datadog-api-client-v1/apis/UsageMeteringApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5966,7 +5966,7 @@ export class UsageMeteringApi {
}

/**
* Get usage across your multi-org account. You must have the multi-org feature enabled.
* Get all usage across your account.
* @param param The request object
*/
public getUsageSummary(
Expand Down

0 comments on commit 8ce1708

Please sign in to comment.