Skip to content

Commit bfc09fe

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 0468fdc of spec repo (#1281)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent a715f4c commit bfc09fe

File tree

414 files changed

+2539
-2642
lines changed

Some content is hidden

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

414 files changed

+2539
-2642
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.5.1.dev2",
7-
"regenerated": "2022-01-11 10:22:28.152764",
8-
"spec_repo_commit": "43a312f"
7+
"regenerated": "2022-01-11 14:01:05.792618",
8+
"spec_repo_commit": "0468fdc"
99
},
1010
"v2": {
1111
"apigentools_version": "1.5.1.dev2",
12-
"regenerated": "2022-01-11 10:22:28.172409",
13-
"spec_repo_commit": "43a312f"
12+
"regenerated": "2022-01-11 14:01:05.810692",
13+
"spec_repo_commit": "0468fdc"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -825,13 +825,15 @@ components:
825825
description: The API key.
826826
readOnly: true
827827
type: string
828+
x-secret: true
828829
last4:
829830
description: The last four characters of the API key.
830831
example: abcd
831832
maxLength: 4
832833
minLength: 4
833834
readOnly: true
834835
type: string
836+
x-secret: true
835837
modified_at:
836838
description: Date the API key was last modified.
837839
example: '2020-11-23T10:00:00.000Z'
@@ -867,13 +869,15 @@ components:
867869
description: The application key.
868870
readOnly: true
869871
type: string
872+
x-secret: true
870873
last4:
871874
description: The last four characters of the application key.
872875
example: abcd
873876
maxLength: 4
874877
minLength: 4
875878
readOnly: true
876879
type: string
880+
x-secret: true
877881
name:
878882
description: Name of the application key.
879883
example: Application Key for managing dashboards
@@ -3534,6 +3538,7 @@ components:
35343538
minLength: 4
35353539
readOnly: true
35363540
type: string
3541+
x-secret: true
35373542
modified_at:
35383543
description: Date the API key was last modified.
35393544
example: '2020-11-23T10:00:00.000Z'
@@ -3572,6 +3577,7 @@ components:
35723577
minLength: 4
35733578
readOnly: true
35743579
type: string
3580+
x-secret: true
35753581
name:
35763582
description: Name of the application key.
35773583
example: Application Key for managing dashboards
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2021-10-01T08:28:30.257Z
1+
2022-01-06T00:50:20.672Z

tests/scenarios/cassettes/TestScenarios/v1/Feature_Authentication/Scenario_Validate_API_key_returns_Forbidden_response.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ interactions:
44
form: {}
55
headers:
66
Accept:
7-
- application/json, */*;q=0.8
7+
- application/json
88
method: GET
99
url: https://api.datadoghq.com/api/v1/validate
1010
response:
11-
body: '{"errors": ["API key required"]}'
11+
body: '{"errors":["API key required"]}'
1212
code: 403
1313
duration: ''
1414
headers:
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2021-10-01T08:28:30.346Z
1+
2022-01-06T00:50:20.920Z

tests/scenarios/cassettes/TestScenarios/v1/Feature_Authentication/Scenario_Validate_API_key_returns_OK_response.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ interactions:
44
form: {}
55
headers:
66
Accept:
7-
- application/json, */*;q=0.8
7+
- application/json
88
method: GET
99
url: https://api.datadoghq.com/api/v1/validate
1010
response:
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2021-10-01T08:28:30.491Z
1+
2022-01-06T00:50:21.238Z

tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboard_Lists/Scenario_Create_a_dashboard_list_returns_OK_response.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
interactions:
22
- request:
33
body: |
4-
{"name":"Test-Create_a_dashboard_list_returns_OK_response-1633076910"}
4+
{"name":"Test-Create_a_dashboard_list_returns_OK_response-1641430221"}
55
form: {}
66
headers:
77
Accept:
8-
- application/json, */*;q=0.8
8+
- application/json
99
Content-Type:
1010
- application/json
1111
method: POST
1212
url: https://api.datadoghq.com/api/v1/dashboard/lists/manual
1313
response:
14-
body: '{"is_favorite":false,"name":"Test-Create_a_dashboard_list_returns_OK_response-1633076910","dashboard_count":0,"author":{"handle":"[email protected]","name":null},"created":"2021-10-01T08:28:30.564949+00:00","type":"manual_dashboard_list","dashboards":null,"modified":"2021-10-01T08:28:30.564987+00:00","id":240514}'
14+
body: '{"is_favorite":false,"name":"Test-Create_a_dashboard_list_returns_OK_response-1641430221","dashboard_count":0,"author":{"handle":"[email protected]","name":null},"created":"2022-01-06T00:50:21.382205+00:00","type":"manual_dashboard_list","dashboards":null,"modified":"2022-01-06T00:50:21.382231+00:00","id":269879}'
1515
code: 200
1616
duration: ''
1717
headers:
@@ -23,11 +23,11 @@ interactions:
2323
form: {}
2424
headers:
2525
Accept:
26-
- application/json, */*;q=0.8
26+
- application/json
2727
method: DELETE
28-
url: https://api.datadoghq.com/api/v1/dashboard/lists/manual/240514
28+
url: https://api.datadoghq.com/api/v1/dashboard/lists/manual/269879
2929
response:
30-
body: '{"deleted_dashboard_list_id":240514}'
30+
body: '{"deleted_dashboard_list_id":269879}'
3131
code: 200
3232
duration: ''
3333
headers:
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2021-10-01T08:28:30.738Z
1+
2022-01-06T00:50:21.689Z

tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboard_Lists/Scenario_Delete_a_dashboard_list_returns_Not_Found_response.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ interactions:
44
form: {}
55
headers:
66
Accept:
7-
- application/json, */*;q=0.8
7+
- application/json
88
method: DELETE
99
url: https://api.datadoghq.com/api/v1/dashboard/lists/manual/0
1010
response:
11-
body: '{"errors": ["Manual Dashboard List with id 0 not found"]}'
11+
body: '{"errors":["Manual Dashboard List with id 0 not found"]}'
1212
code: 404
1313
duration: ''
1414
headers:

0 commit comments

Comments
 (0)