Skip to content

Commit bf58238

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Update entity version documentation in Software Catalog (#2470)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent b5d6d0c commit bf58238

File tree

9 files changed

+27
-12
lines changed

9 files changed

+27
-12
lines changed

.generated-info

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"spec_repo_commit": "f2ae7eb",
3-
"generated": "2025-07-17 19:54:18.184"
2+
"spec_repo_commit": "20279f4",
3+
"generated": "2025-07-18 10:23:57.186"
44
}

.generator/schemas/v2/openapi.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13911,14 +13911,21 @@ components:
1391113911
type: string
1391213912
type: object
1391313913
EntityV3APIVersion:
13914-
description: The schema version of entity type. The field is known as schema-version
13915-
in the previous version.
13914+
description: The version of the schema data that was used to populate this entity's
13915+
data. This could be via the API, Terraform, or YAML file in a repository.
13916+
The field is known as schema-version in the previous version.
1391613917
enum:
1391713918
- v3
13919+
- v2.2
13920+
- v2.1
13921+
- v2
1391813922
example: v3
1391913923
type: string
1392013924
x-enum-varnames:
1392113925
- V3
13926+
- V2_2
13927+
- V2_1
13928+
- V2
1392213929
EntityV3DatadogCodeLocationItem:
1392313930
additionalProperties: false
1392413931
description: Code location item.

packages/datadog-api-client-v2/models/EntityV3API.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1717
*/
1818
export class EntityV3API {
1919
/**
20-
* The schema version of entity type. The field is known as schema-version in the previous version.
20+
* The version of the schema data that was used to populate this entity's data. This could be via the API, Terraform, or YAML file in a repository. The field is known as schema-version in the previous version.
2121
*/
2222
"apiVersion": EntityV3APIVersion;
2323
/**

packages/datadog-api-client-v2/models/EntityV3APIVersion.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,16 @@
77
import { UnparsedObject } from "../../datadog-api-client-common/util";
88

99
/**
10-
* The schema version of entity type. The field is known as schema-version in the previous version.
10+
* The version of the schema data that was used to populate this entity's data. This could be via the API, Terraform, or YAML file in a repository. The field is known as schema-version in the previous version.
1111
*/
1212

13-
export type EntityV3APIVersion = typeof V3 | UnparsedObject;
13+
export type EntityV3APIVersion =
14+
| typeof V3
15+
| typeof V2_2
16+
| typeof V2_1
17+
| typeof V2
18+
| UnparsedObject;
1419
export const V3 = "v3";
20+
export const V2_2 = "v2.2";
21+
export const V2_1 = "v2.1";
22+
export const V2 = "v2";

packages/datadog-api-client-v2/models/EntityV3Datastore.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1717
*/
1818
export class EntityV3Datastore {
1919
/**
20-
* The schema version of entity type. The field is known as schema-version in the previous version.
20+
* The version of the schema data that was used to populate this entity's data. This could be via the API, Terraform, or YAML file in a repository. The field is known as schema-version in the previous version.
2121
*/
2222
"apiVersion": EntityV3APIVersion;
2323
/**

packages/datadog-api-client-v2/models/EntityV3Queue.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1717
*/
1818
export class EntityV3Queue {
1919
/**
20-
* The schema version of entity type. The field is known as schema-version in the previous version.
20+
* The version of the schema data that was used to populate this entity's data. This could be via the API, Terraform, or YAML file in a repository. The field is known as schema-version in the previous version.
2121
*/
2222
"apiVersion": EntityV3APIVersion;
2323
/**

packages/datadog-api-client-v2/models/EntityV3Service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1717
*/
1818
export class EntityV3Service {
1919
/**
20-
* The schema version of entity type. The field is known as schema-version in the previous version.
20+
* The version of the schema data that was used to populate this entity's data. This could be via the API, Terraform, or YAML file in a repository. The field is known as schema-version in the previous version.
2121
*/
2222
"apiVersion": EntityV3APIVersion;
2323
/**

packages/datadog-api-client-v2/models/EntityV3System.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1717
*/
1818
export class EntityV3System {
1919
/**
20-
* The schema version of entity type. The field is known as schema-version in the previous version.
20+
* The version of the schema data that was used to populate this entity's data. This could be via the API, Terraform, or YAML file in a repository. The field is known as schema-version in the previous version.
2121
*/
2222
"apiVersion": EntityV3APIVersion;
2323
/**

packages/datadog-api-client-v2/models/ObjectSerializer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2353,7 +2353,7 @@ const enumsMap: { [key: string]: any[] } = {
23532353
EntityResponseIncludedRelatedEntityType: ["relatedEntity"],
23542354
EntityResponseIncludedSchemaType: ["schema"],
23552355
EntityV3APIKind: ["api"],
2356-
EntityV3APIVersion: ["v3"],
2356+
EntityV3APIVersion: ["v3", "v2.2", "v2.1", "v2"],
23572357
EntityV3DatastoreKind: ["datastore"],
23582358
EntityV3QueueKind: ["queue"],
23592359
EntityV3ServiceKind: ["service"],

0 commit comments

Comments
 (0)