Skip to content

Commit 7699c4d

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 98988fd6 of spec repo
1 parent 48b0065 commit 7699c4d

File tree

5 files changed

+25
-9
lines changed

5 files changed

+25
-9
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": "2025-02-18 20:22:44.958059",
8-
"spec_repo_commit": "c8707cdc"
7+
"regenerated": "2025-02-18 22:25:33.915574",
8+
"spec_repo_commit": "98988fd6"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-02-18 20:22:44.973454",
13-
"spec_repo_commit": "c8707cdc"
12+
"regenerated": "2025-02-18 22:25:33.931467",
13+
"spec_repo_commit": "98988fd6"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1530,6 +1530,7 @@ components:
15301530
type: array
15311531
required:
15321532
- exclude_only
1533+
type: object
15331534
AWSNamespaceFiltersIncludeOnly:
15341535
description: Include only these namespaces.
15351536
properties:
@@ -1543,6 +1544,7 @@ components:
15431544
type: array
15441545
required:
15451546
- include_only
1547+
type: object
15461548
AWSNamespaceTagFilter:
15471549
description: 'AWS Metrics Collection tag filters list. Defaults to `[]`.
15481550

@@ -1676,6 +1678,7 @@ components:
16761678
type: boolean
16771679
required:
16781680
- include_all
1681+
type: object
16791682
AWSRegionsIncludeOnly:
16801683
description: Include only these regions.
16811684
properties:
@@ -1689,6 +1692,7 @@ components:
16891692
type: array
16901693
required:
16911694
- include_only
1695+
type: object
16921696
AWSResourcesConfig:
16931697
description: AWS Resources Collection config.
16941698
properties:
@@ -10934,13 +10938,15 @@ components:
1093410938
definition:
1093510939
description: The API definition.
1093610940
type: object
10941+
type: object
1093710942
EntityV3APISpecInterfaceFileRef:
1093810943
additionalProperties: false
1093910944
description: The definition of `EntityV3APISpecInterfaceFileRef` object.
1094010945
properties:
1094110946
fileRef:
1094210947
description: The reference to the API definition file.
1094310948
type: string
10949+
type: object
1094410950
EntityV3APIVersion:
1094510951
description: The schema version of entity type. The field is known as schema-version
1094610952
in the previous version.
@@ -11206,6 +11212,7 @@ components:
1120611212
type: string
1120711213
required:
1120811214
- name
11215+
type: object
1120911216
EntityV3MetadataContactsItems:
1121011217
additionalProperties: false
1121111218
description: The definition of Entity V3 Metadata Contacts Items object.
@@ -20228,6 +20235,7 @@ components:
2022820235
$ref: '#/components/schemas/OktaAccountUpdateRequestAttributes'
2022920236
type:
2023020237
$ref: '#/components/schemas/OktaAccountType'
20238+
type: object
2023120239
OktaAccountsResponse:
2023220240
description: The expected response schema when getting Okta accounts.
2023320241
properties:
@@ -25939,6 +25947,7 @@ components:
2593925947
description: The version of the rule.
2594025948
format: int64
2594125949
type: integer
25950+
type: object
2594225951
SecurityMonitoringSignalRuleResponseQuery:
2594325952
description: Query for matching rule on signals.
2594425953
properties:
@@ -26475,6 +26484,7 @@ components:
2647526484
description: The version of the rule.
2647626485
format: int64
2647726486
type: integer
26487+
type: object
2647826488
SecurityMonitoringStandardRuleTestPayload:
2647926489
description: The payload of a rule to test
2648026490
properties:
@@ -32266,6 +32276,7 @@ components:
3226632276
type: boolean
3226732277
required:
3226832278
- include_all
32279+
type: object
3226932280
XRayServicesIncludeOnly:
3227032281
description: Include only these services. Defaults to `[]`.
3227132282
nullable: true
@@ -32280,6 +32291,7 @@ components:
3228032291
type: array
3228132292
required:
3228232293
- include_only
32294+
type: object
3228332295
XRayServicesList:
3228432296
description: AWS X-Ray services to collect traces from. Defaults to `include_only`.
3228532297
oneOf:

examples/v2/software-catalog/UpsertCatalogEntity.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,11 @@ const params: v2.SoftwareCatalogApiUpsertCatalogEntityRequest = {
3636
},
3737
kind: "service",
3838
metadata: {
39-
additionalOwners: [],
39+
additionalOwners: [
40+
{
41+
name: "",
42+
},
43+
],
4044
contacts: [
4145
{
4246
contact: "https://slack/",

features/v2/okta_integration.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,15 +97,15 @@ Feature: Okta Integration
9797
Scenario: Update Okta account returns "Bad Request" response
9898
Given new "UpdateOktaAccount" request
9999
And request contains "account_id" parameter from "REPLACE.ME"
100-
And body with value {}
100+
And body with value {"data": {"attributes": {"auth_method": "oauth", "domain": "https://dev-test.okta.com/"}, "type": "okta-accounts"}}
101101
When the request is sent
102102
Then the response status is 400 Bad Request
103103

104104
@generated @skip @team:DataDog/saas-integrations
105105
Scenario: Update Okta account returns "Not Found" response
106106
Given new "UpdateOktaAccount" request
107107
And request contains "account_id" parameter from "REPLACE.ME"
108-
And body with value {}
108+
And body with value {"data": {"attributes": {"auth_method": "oauth", "domain": "https://dev-test.okta.com/"}, "type": "okta-accounts"}}
109109
When the request is sent
110110
Then the response status is 404 Not Found
111111

features/v2/software_catalog.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ Feature: Software Catalog
1010
@generated @skip @team:DataDog/service-catalog
1111
Scenario: Create or update entities returns "ACCEPTED" response
1212
Given new "UpsertCatalogEntity" request
13-
And body with value {"apiVersion": "v3", "datadog": {"codeLocations": [{"paths": []}], "events": [{}], "logs": [{}], "performanceData": {"tags": []}, "pipelines": {"fingerprints": []}}, "integrations": {"opsgenie": {"serviceURL": "https://www.opsgenie.com/service/shopping-cart"}, "pagerduty": {"serviceURL": "https://www.pagerduty.com/service-directory/Pshopping-cart"}}, "kind": "service", "metadata": {"additionalOwners": [], "contacts": [{"contact": "https://slack/", "type": "slack"}], "id": "4b163705-23c0-4573-b2fb-f6cea2163fcb", "inheritFrom": "application:default/myapp", "links": [{"name": "mylink", "type": "link", "url": "https://mylink"}], "name": "myService", "namespace": "default", "tags": ["this:tag", "that:tag"]}, "spec": {"dependsOn": [], "languages": []}}
13+
And body with value {"apiVersion": "v3", "datadog": {"codeLocations": [{"paths": []}], "events": [{}], "logs": [{}], "performanceData": {"tags": []}, "pipelines": {"fingerprints": []}}, "integrations": {"opsgenie": {"serviceURL": "https://www.opsgenie.com/service/shopping-cart"}, "pagerduty": {"serviceURL": "https://www.pagerduty.com/service-directory/Pshopping-cart"}}, "kind": "service", "metadata": {"additionalOwners": [{"name": ""}], "contacts": [{"contact": "https://slack/", "type": "slack"}], "id": "4b163705-23c0-4573-b2fb-f6cea2163fcb", "inheritFrom": "application:default/myapp", "links": [{"name": "mylink", "type": "link", "url": "https://mylink"}], "name": "myService", "namespace": "default", "tags": ["this:tag", "that:tag"]}, "spec": {"dependsOn": [], "languages": []}}
1414
When the request is sent
1515
Then the response status is 202 ACCEPTED
1616

1717
@generated @skip @team:DataDog/service-catalog
1818
Scenario: Create or update entities returns "Bad Request" response
1919
Given new "UpsertCatalogEntity" request
20-
And body with value {"apiVersion": "v3", "datadog": {"codeLocations": [{"paths": []}], "events": [{}], "logs": [{}], "performanceData": {"tags": []}, "pipelines": {"fingerprints": []}}, "integrations": {"opsgenie": {"serviceURL": "https://www.opsgenie.com/service/shopping-cart"}, "pagerduty": {"serviceURL": "https://www.pagerduty.com/service-directory/Pshopping-cart"}}, "kind": "service", "metadata": {"additionalOwners": [], "contacts": [{"contact": "https://slack/", "type": "slack"}], "id": "4b163705-23c0-4573-b2fb-f6cea2163fcb", "inheritFrom": "application:default/myapp", "links": [{"name": "mylink", "type": "link", "url": "https://mylink"}], "name": "myService", "namespace": "default", "tags": ["this:tag", "that:tag"]}, "spec": {"dependsOn": [], "languages": []}}
20+
And body with value {"apiVersion": "v3", "datadog": {"codeLocations": [{"paths": []}], "events": [{}], "logs": [{}], "performanceData": {"tags": []}, "pipelines": {"fingerprints": []}}, "integrations": {"opsgenie": {"serviceURL": "https://www.opsgenie.com/service/shopping-cart"}, "pagerduty": {"serviceURL": "https://www.pagerduty.com/service-directory/Pshopping-cart"}}, "kind": "service", "metadata": {"additionalOwners": [{"name": ""}], "contacts": [{"contact": "https://slack/", "type": "slack"}], "id": "4b163705-23c0-4573-b2fb-f6cea2163fcb", "inheritFrom": "application:default/myapp", "links": [{"name": "mylink", "type": "link", "url": "https://mylink"}], "name": "myService", "namespace": "default", "tags": ["this:tag", "that:tag"]}, "spec": {"dependsOn": [], "languages": []}}
2121
When the request is sent
2222
Then the response status is 400 Bad Request
2323

0 commit comments

Comments
 (0)