Skip to content

Commit 20ab8e4

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
ACCESS-2490: Updating documentation with required scope (#1622)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent a2ecc39 commit 20ab8e4

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
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:46:55.396215",
8-
"spec_repo_commit": "4e2ffe7b"
7+
"regenerated": "2024-05-17 20:25:17.165272",
8+
"spec_repo_commit": "77064b00"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-05-15 14:46:55.414272",
13-
"spec_repo_commit": "4e2ffe7b"
12+
"regenerated": "2024-05-17 20:25:17.183286",
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

packages/datadog-api-client-v2/apis/SpansApi.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ export class SpansApiRequestFactory extends BaseAPIRequestFactory {
105105

106106
// Apply auth methods
107107
applySecurityAuthentication(_config, requestContext, [
108+
"AuthZ",
108109
"apiKeyAuth",
109110
"appKeyAuth",
110111
]);
@@ -173,6 +174,7 @@ export class SpansApiRequestFactory extends BaseAPIRequestFactory {
173174

174175
// Apply auth methods
175176
applySecurityAuthentication(_config, requestContext, [
177+
"AuthZ",
176178
"apiKeyAuth",
177179
"appKeyAuth",
178180
]);

0 commit comments

Comments
 (0)