Skip to content

Commit 5089de1

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
ACCESS-2490: Updating documentation with required scope (#2289)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent 49944f7 commit 5089de1

File tree

89 files changed

+187
-177
lines changed

Some content is hidden

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

89 files changed

+187
-177
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.6",
7-
"regenerated": "2024-05-15 14:47:02.290009",
8-
"spec_repo_commit": "4e2ffe7b"
7+
"regenerated": "2024-05-17 20:25:15.848970",
8+
"spec_repo_commit": "77064b00"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-05-15 14:47:02.318103",
13-
"spec_repo_commit": "4e2ffe7b"
12+
"regenerated": "2024-05-17 20:25:15.866742",
13+
"spec_repo_commit": "77064b00"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34134,6 +34134,11 @@ paths:
3413434134
$ref: '#/components/responses/SpansUnprocessableEntityResponse'
3413534135
'429':
3413634136
$ref: '#/components/responses/SpansTooManyRequestsResponse'
34137+
security:
34138+
- apiKeyAuth: []
34139+
appKeyAuth: []
34140+
- AuthZ:
34141+
- apm_read
3413734142
summary: Get a list of spans
3413834143
tags:
3413934144
- Spans
@@ -34177,6 +34182,11 @@ paths:
3417734182
$ref: '#/components/responses/SpansUnprocessableEntityResponse'
3417834183
'429':
3417934184
$ref: '#/components/responses/SpansTooManyRequestsResponse'
34185+
security:
34186+
- apiKeyAuth: []
34187+
appKeyAuth: []
34188+
- AuthZ:
34189+
- apm_read
3418034190
summary: Search spans
3418134191
tags:
3418234192
- Spans

src/main/java/com/datadog/api/client/v2/api/SpansApi.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ public ApiResponse<SpansListResponse> listSpansWithHttpInfo(SpansListRequest bod
309309
localVarHeaderParams,
310310
new HashMap<String, String>(),
311311
new String[] {"application/json"},
312-
new String[] {"apiKeyAuth", "appKeyAuth"});
312+
new String[] {"AuthZ", "apiKeyAuth", "appKeyAuth"});
313313
return apiClient.invokeAPI(
314314
"POST",
315315
builder,
@@ -355,7 +355,7 @@ public CompletableFuture<ApiResponse<SpansListResponse>> listSpansWithHttpInfoAs
355355
localVarHeaderParams,
356356
new HashMap<String, String>(),
357357
new String[] {"application/json"},
358-
new String[] {"apiKeyAuth", "appKeyAuth"});
358+
new String[] {"AuthZ", "apiKeyAuth", "appKeyAuth"});
359359
} catch (ApiException ex) {
360360
CompletableFuture<ApiResponse<SpansListResponse>> result = new CompletableFuture<>();
361361
result.completeExceptionally(ex);
@@ -612,7 +612,7 @@ public ApiResponse<SpansListResponse> listSpansGetWithHttpInfo(
612612
localVarHeaderParams,
613613
new HashMap<String, String>(),
614614
new String[] {"application/json"},
615-
new String[] {"apiKeyAuth", "appKeyAuth"});
615+
new String[] {"AuthZ", "apiKeyAuth", "appKeyAuth"});
616616
return apiClient.invokeAPI(
617617
"GET",
618618
builder,
@@ -664,7 +664,7 @@ public CompletableFuture<ApiResponse<SpansListResponse>> listSpansGetWithHttpInf
664664
localVarHeaderParams,
665665
new HashMap<String, String>(),
666666
new String[] {"application/json"},
667-
new String[] {"apiKeyAuth", "appKeyAuth"});
667+
new String[] {"AuthZ", "apiKeyAuth", "appKeyAuth"});
668668
} catch (ApiException ex) {
669669
CompletableFuture<ApiResponse<SpansListResponse>> result = new CompletableFuture<>();
670670
result.completeExceptionally(ex);

src/test/resources/cassettes/features/v1/Create_a_user_returns_User_created_response_test.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@
5353
"timeToLive": {
5454
"unlimited": true
5555
},
56-
"id": "af617072-2860-ba27-e045-b00c8baf0187"
56+
"id": "af617072-2860-ba27-e045-b00c8baf0188"
5757
}
5858
]

src/test/resources/cassettes/features/v1/Create_a_user_returns_null_access_role.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@
5353
"timeToLive": {
5454
"unlimited": true
5555
},
56-
"id": "af617072-2860-ba27-e045-b00c8baf0188"
56+
"id": "af617072-2860-ba27-e045-b00c8baf0187"
5757
}
5858
]

src/test/resources/cassettes/features/v1/Create_an_Azure_integration_returns_OK_response.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"timeToLive": {
2828
"unlimited": true
2929
},
30-
"id": "28fc8056-6b96-6b1b-3358-284b38769d4d"
30+
"id": "28fc8056-6b96-6b1b-3358-284b38769d4c"
3131
},
3232
{
3333
"httpRequest": {
@@ -57,6 +57,6 @@
5757
"timeToLive": {
5858
"unlimited": true
5959
},
60-
"id": "493d73f3-32fe-fc7b-7b8c-f7d6a6b7bfec"
60+
"id": "493d73f3-32fe-fc7b-7b8c-f7d6a6b7bfea"
6161
}
6262
]

src/test/resources/cassettes/features/v1/Delete_an_Azure_integration_returns_OK_response.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"timeToLive": {
2828
"unlimited": true
2929
},
30-
"id": "28fc8056-6b96-6b1b-3358-284b38769d4c"
30+
"id": "28fc8056-6b96-6b1b-3358-284b38769d4d"
3131
},
3232
{
3333
"httpRequest": {
@@ -57,7 +57,7 @@
5757
"timeToLive": {
5858
"unlimited": true
5959
},
60-
"id": "493d73f3-32fe-fc7b-7b8c-f7d6a6b7bfea"
60+
"id": "493d73f3-32fe-fc7b-7b8c-f7d6a6b7bfeb"
6161
},
6262
{
6363
"httpRequest": {
@@ -87,6 +87,6 @@
8787
"timeToLive": {
8888
"unlimited": true
8989
},
90-
"id": "493d73f3-32fe-fc7b-7b8c-f7d6a6b7bfeb"
90+
"id": "493d73f3-32fe-fc7b-7b8c-f7d6a6b7bfec"
9191
}
9292
]

src/test/resources/cassettes/features/v1/Get_all_hosts_with_metadata_deserializes_successfully.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@
2828
"timeToLive": {
2929
"unlimited": true
3030
},
31-
"id": "d5bade64-6ebb-4f4d-903d-8069b52bb31d"
31+
"id": "d5bade64-6ebb-4f4d-903d-8069b52bb31e"
3232
}
3333
]

src/test/resources/cassettes/features/v1/Get_all_hosts_with_metadata_for_your_organization_returns_OK_response.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@
2828
"timeToLive": {
2929
"unlimited": true
3030
},
31-
"id": "d5bade64-6ebb-4f4d-903d-8069b52bb31e"
31+
"id": "d5bade64-6ebb-4f4d-903d-8069b52bb31d"
3232
}
3333
]

src/test/resources/cassettes/features/v2/Archive_case_returns_Bad_Request_response.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"timeToLive": {
2828
"unlimited": true
2929
},
30-
"id": "0a6534d0-42f2-5075-64f8-7ab28f449a97"
30+
"id": "0a6534d0-42f2-5075-64f8-7ab28f449a8f"
3131
},
3232
{
3333
"httpRequest": {

0 commit comments

Comments
 (0)