Skip to content

Commit dd01be7

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

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:53:03.263"
2+
"spec_repo_commit": "20279f4",
3+
"generated": "2025-07-18 10:22:42.241"
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.

services/software_catalog/src/v2/models/EntityV3API.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { EntityV3Metadata } from "./EntityV3Metadata";
1212
*/
1313
export class EntityV3API {
1414
/**
15-
* The schema version of entity type. The field is known as schema-version in the previous version.
15+
* 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.
1616
*/
1717
"apiVersion": EntityV3APIVersion;
1818
/**
Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
import { UnparsedObject } from "@datadog/datadog-api-client";
22

33
/**
4-
* The schema version of entity type. The field is known as schema-version in the previous version.
4+
* 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.
55
*/
6-
export type EntityV3APIVersion = typeof V3 | UnparsedObject;
6+
export type EntityV3APIVersion =
7+
| typeof V3
8+
| typeof V2_2
9+
| typeof V2_1
10+
| typeof V2
11+
| UnparsedObject;
712
export const V3 = "v3";
13+
export const V2_2 = "v2.2";
14+
export const V2_1 = "v2.1";
15+
export const V2 = "v2";

services/software_catalog/src/v2/models/EntityV3Datastore.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { EntityV3Metadata } from "./EntityV3Metadata";
1212
*/
1313
export class EntityV3Datastore {
1414
/**
15-
* The schema version of entity type. The field is known as schema-version in the previous version.
15+
* 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.
1616
*/
1717
"apiVersion": EntityV3APIVersion;
1818
/**

services/software_catalog/src/v2/models/EntityV3Queue.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { EntityV3QueueSpec } from "./EntityV3QueueSpec";
1212
*/
1313
export class EntityV3Queue {
1414
/**
15-
* The schema version of entity type. The field is known as schema-version in the previous version.
15+
* 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.
1616
*/
1717
"apiVersion": EntityV3APIVersion;
1818
/**

services/software_catalog/src/v2/models/EntityV3Service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { EntityV3ServiceSpec } from "./EntityV3ServiceSpec";
1212
*/
1313
export class EntityV3Service {
1414
/**
15-
* The schema version of entity type. The field is known as schema-version in the previous version.
15+
* 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.
1616
*/
1717
"apiVersion": EntityV3APIVersion;
1818
/**

services/software_catalog/src/v2/models/EntityV3System.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { EntityV3SystemSpec } from "./EntityV3SystemSpec";
1212
*/
1313
export class EntityV3System {
1414
/**
15-
* The schema version of entity type. The field is known as schema-version in the previous version.
15+
* 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.
1616
*/
1717
"apiVersion": EntityV3APIVersion;
1818
/**

services/software_catalog/src/v2/models/TypingInfo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export const TypingInfo: ModelTypingInfo = {
8181
EntityResponseIncludedRelatedEntityType: ["relatedEntity"],
8282
EntityResponseIncludedSchemaType: ["schema"],
8383
EntityV3APIKind: ["api"],
84-
EntityV3APIVersion: ["v3"],
84+
EntityV3APIVersion: ["v3", "v2.2", "v2.1", "v2"],
8585
EntityV3DatastoreKind: ["datastore"],
8686
EntityV3QueueKind: ["queue"],
8787
EntityV3ServiceKind: ["service"],

0 commit comments

Comments
 (0)