Skip to content

Commit 8a43527

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit c45f182 of spec repo (#553)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent 6c3866a commit 8a43527

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.2",
7-
"regenerated": "2022-03-02 11:11:25.004793",
8-
"spec_repo_commit": "0f5bd41"
7+
"regenerated": "2022-03-02 16:37:27.038005",
8+
"spec_repo_commit": "c45f182"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.2",
12-
"regenerated": "2022-03-02 11:11:25.024121",
13-
"spec_repo_commit": "0f5bd41"
12+
"regenerated": "2022-03-02 16:37:27.055698",
13+
"spec_repo_commit": "c45f182"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4255,7 +4255,7 @@ components:
42554255
properties:
42564256
date:
42574257
description: The month for the usage.
4258-
format: datetime
4258+
format: date-time
42594259
type: string
42604260
usage:
42614261
description: Indexed logs usage for each active retention for the month.

features/v1/dashboards.feature

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ Feature: Dashboards
375375
@team:DataDog/dashboards
376376
Scenario: Delete a dashboard returns "OK" response
377377
Given there is a valid "dashboard" in the system
378-
Given new "DeleteDashboard" request
378+
And new "DeleteDashboard" request
379379
And request contains "dashboard_id" parameter from "dashboard.id"
380380
When the request is sent
381381
Then the response status is 200 OK
@@ -413,7 +413,7 @@ Feature: Dashboards
413413
@team:DataDog/dashboards
414414
Scenario: Get a dashboard returns "OK" response
415415
Given there is a valid "dashboard" in the system
416-
Given new "GetDashboard" request
416+
And new "GetDashboard" request
417417
And request contains "dashboard_id" parameter from "dashboard.id"
418418
When the request is sent
419419
Then the response status is 200 OK
@@ -487,7 +487,7 @@ Feature: Dashboards
487487
@team:DataDog/dashboards
488488
Scenario: Update a dashboard returns "OK" response
489489
Given there is a valid "dashboard" in the system
490-
Given new "UpdateDashboard" request
490+
And new "UpdateDashboard" request
491491
And request contains "dashboard_id" parameter from "dashboard.id"
492492
And body with value {"layout_type": "ordered", "title": "{{ unique }} with list_stream widget","description":"Updated description","widgets": [{"definition": {"type": "list_stream","requests": [{"columns":[{"width":"auto","field":"timestamp"}],"query":{"data_source":"issue_stream","query_string":""},"response_format":"event_list"}]}}]}
493493
When the request is sent

packages/datadog-api-client-v1/models/LogsByRetentionMonthlyUsage.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export class LogsByRetentionMonthlyUsage {
1919
/**
2020
* The month for the usage.
2121
*/
22-
"date"?: string;
22+
"date"?: Date;
2323
/**
2424
* Indexed logs usage for each active retention for the month.
2525
*/
@@ -36,8 +36,8 @@ export class LogsByRetentionMonthlyUsage {
3636
static readonly attributeTypeMap: AttributeTypeMap = {
3737
date: {
3838
baseName: "date",
39-
type: "string",
40-
format: "datetime",
39+
type: "Date",
40+
format: "date-time",
4141
},
4242
usage: {
4343
baseName: "usage",

0 commit comments

Comments
 (0)