Skip to content

Commit 0325edf

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
[ACCESS-2569] Update API specs with new apm_api_catalog_* scopes (#1651)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 1c024ab commit 0325edf

File tree

3 files changed

+34
-4
lines changed

3 files changed

+34
-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-07-01 17:39:12.993959",
8-
"spec_repo_commit": "acfbfe3f"
7+
"regenerated": "2024-07-02 14:03:43.501505",
8+
"spec_repo_commit": "dd2bff15"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-07-01 17:39:13.012154",
13-
"spec_repo_commit": "acfbfe3f"
12+
"regenerated": "2024-07-02 14:03:43.519370",
13+
"spec_repo_commit": "dd2bff15"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23566,6 +23566,11 @@ paths:
2356623566
description: Forbidden
2356723567
'429':
2356823568
$ref: '#/components/responses/TooManyRequestsResponse'
23569+
security:
23570+
- apiKeyAuth: []
23571+
appKeyAuth: []
23572+
- AuthZ:
23573+
- apm_api_catalog_read
2356923574
summary: List APIs
2357023575
tags:
2357123576
- API Management
@@ -23606,6 +23611,11 @@ paths:
2360623611
description: API not found error
2360723612
'429':
2360823613
$ref: '#/components/responses/TooManyRequestsResponse'
23614+
security:
23615+
- apiKeyAuth: []
23616+
appKeyAuth: []
23617+
- AuthZ:
23618+
- apm_api_catalog_write
2360923619
summary: Delete an API
2361023620
tags:
2361123621
- API Management
@@ -23652,6 +23662,11 @@ paths:
2365223662
description: API not found error
2365323663
'429':
2365423664
$ref: '#/components/responses/TooManyRequestsResponse'
23665+
security:
23666+
- apiKeyAuth: []
23667+
appKeyAuth: []
23668+
- AuthZ:
23669+
- apm_api_catalog_read
2365523670
summary: Get an API
2365623671
tags:
2365723672
- API Management
@@ -23707,6 +23722,11 @@ paths:
2370723722
description: API not found error
2370823723
'429':
2370923724
$ref: '#/components/responses/TooManyRequestsResponse'
23725+
security:
23726+
- apiKeyAuth: []
23727+
appKeyAuth: []
23728+
- AuthZ:
23729+
- apm_api_catalog_write
2371023730
summary: Update an API
2371123731
tags:
2371223732
- API Management
@@ -23754,6 +23774,11 @@ paths:
2375423774
description: Forbidden
2375523775
'429':
2375623776
$ref: '#/components/responses/TooManyRequestsResponse'
23777+
security:
23778+
- apiKeyAuth: []
23779+
appKeyAuth: []
23780+
- AuthZ:
23781+
- apm_api_catalog_write
2375723782
summary: Create a new API
2375823783
tags:
2375923784
- API Management

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ export class APIManagementApiRequestFactory extends BaseAPIRequestFactory {
6161

6262
// Apply auth methods
6363
applySecurityAuthentication(_config, requestContext, [
64+
"AuthZ",
6465
"apiKeyAuth",
6566
"appKeyAuth",
6667
]);
@@ -99,6 +100,7 @@ export class APIManagementApiRequestFactory extends BaseAPIRequestFactory {
99100

100101
// Apply auth methods
101102
applySecurityAuthentication(_config, requestContext, [
103+
"AuthZ",
102104
"apiKeyAuth",
103105
"appKeyAuth",
104106
]);
@@ -140,6 +142,7 @@ export class APIManagementApiRequestFactory extends BaseAPIRequestFactory {
140142

141143
// Apply auth methods
142144
applySecurityAuthentication(_config, requestContext, [
145+
"AuthZ",
143146
"apiKeyAuth",
144147
"appKeyAuth",
145148
]);
@@ -192,6 +195,7 @@ export class APIManagementApiRequestFactory extends BaseAPIRequestFactory {
192195

193196
// Apply auth methods
194197
applySecurityAuthentication(_config, requestContext, [
198+
"AuthZ",
195199
"apiKeyAuth",
196200
"appKeyAuth",
197201
]);
@@ -243,6 +247,7 @@ export class APIManagementApiRequestFactory extends BaseAPIRequestFactory {
243247

244248
// Apply auth methods
245249
applySecurityAuthentication(_config, requestContext, [
250+
"AuthZ",
246251
"apiKeyAuth",
247252
"appKeyAuth",
248253
]);

0 commit comments

Comments
 (0)