Skip to content

Commit 8348cd4

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Update entity version documentation in Software Catalog (#2982)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent a36c0ba commit 8348cd4

File tree

8 files changed

+34
-16
lines changed

8 files changed

+34
-16
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:51.613"
2+
"spec_repo_commit": "20279f4",
3+
"generated": "2025-07-18 10:24:13.081"
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.

src/main/java/com/datadog/api/client/v2/model/EntityV3API.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,9 @@ public EntityV3API apiVersion(EntityV3APIVersion apiVersion) {
7373
}
7474

7575
/**
76-
* The schema version of entity type. The field is known as schema-version in the previous
77-
* version.
76+
* The version of the schema data that was used to populate this entity's data. This could be via
77+
* the API, Terraform, or YAML file in a repository. The field is known as schema-version in the
78+
* previous version.
7879
*
7980
* @return apiVersion
8081
*/

src/main/java/com/datadog/api/client/v2/model/EntityV3APIVersion.java

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,20 @@
1919
import java.util.Set;
2020

2121
/**
22-
* The schema version of entity type. The field is known as schema-version in the previous version.
22+
* The version of the schema data that was used to populate this entity's data. This could be via
23+
* the API, Terraform, or YAML file in a repository. The field is known as schema-version in the
24+
* previous version.
2325
*/
2426
@JsonSerialize(using = EntityV3APIVersion.EntityV3APIVersionSerializer.class)
2527
public class EntityV3APIVersion extends ModelEnum<String> {
2628

27-
private static final Set<String> allowedValues = new HashSet<String>(Arrays.asList("v3"));
29+
private static final Set<String> allowedValues =
30+
new HashSet<String>(Arrays.asList("v3", "v2.2", "v2.1", "v2"));
2831

2932
public static final EntityV3APIVersion V3 = new EntityV3APIVersion("v3");
33+
public static final EntityV3APIVersion V2_2 = new EntityV3APIVersion("v2.2");
34+
public static final EntityV3APIVersion V2_1 = new EntityV3APIVersion("v2.1");
35+
public static final EntityV3APIVersion V2 = new EntityV3APIVersion("v2");
3036

3137
EntityV3APIVersion(String value) {
3238
super(value, allowedValues);

src/main/java/com/datadog/api/client/v2/model/EntityV3Datastore.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,9 @@ public EntityV3Datastore apiVersion(EntityV3APIVersion apiVersion) {
7373
}
7474

7575
/**
76-
* The schema version of entity type. The field is known as schema-version in the previous
77-
* version.
76+
* The version of the schema data that was used to populate this entity's data. This could be via
77+
* the API, Terraform, or YAML file in a repository. The field is known as schema-version in the
78+
* previous version.
7879
*
7980
* @return apiVersion
8081
*/

src/main/java/com/datadog/api/client/v2/model/EntityV3Queue.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,9 @@ public EntityV3Queue apiVersion(EntityV3APIVersion apiVersion) {
7373
}
7474

7575
/**
76-
* The schema version of entity type. The field is known as schema-version in the previous
77-
* version.
76+
* The version of the schema data that was used to populate this entity's data. This could be via
77+
* the API, Terraform, or YAML file in a repository. The field is known as schema-version in the
78+
* previous version.
7879
*
7980
* @return apiVersion
8081
*/

src/main/java/com/datadog/api/client/v2/model/EntityV3Service.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,9 @@ public EntityV3Service apiVersion(EntityV3APIVersion apiVersion) {
7373
}
7474

7575
/**
76-
* The schema version of entity type. The field is known as schema-version in the previous
77-
* version.
76+
* The version of the schema data that was used to populate this entity's data. This could be via
77+
* the API, Terraform, or YAML file in a repository. The field is known as schema-version in the
78+
* previous version.
7879
*
7980
* @return apiVersion
8081
*/

src/main/java/com/datadog/api/client/v2/model/EntityV3System.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,9 @@ public EntityV3System apiVersion(EntityV3APIVersion apiVersion) {
7373
}
7474

7575
/**
76-
* The schema version of entity type. The field is known as schema-version in the previous
77-
* version.
76+
* The version of the schema data that was used to populate this entity's data. This could be via
77+
* the API, Terraform, or YAML file in a repository. The field is known as schema-version in the
78+
* previous version.
7879
*
7980
* @return apiVersion
8081
*/

0 commit comments

Comments
 (0)