Skip to content

Commit 90fd638

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Update entity version documentation in Software Catalog (DataDog#3199)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 4d7c114 commit 90fd638

8 files changed

Lines changed: 24 additions & 11 deletions

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

api/datadogV2/model_entity_v3_api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212

1313
// EntityV3API Schema for API entities.
1414
type EntityV3API struct {
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
ApiVersion EntityV3APIVersion `json:"apiVersion"`
1717
// Datadog product integrations for the API entity.
1818
Datadog *EntityV3APIDatadog `json:"datadog,omitempty"`

api/datadogV2/model_entity_v3_api_version.go

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,22 @@ import (
1010
"github.com/DataDog/datadog-api-client-go/v2/api/datadog"
1111
)
1212

13-
// EntityV3APIVersion The schema version of entity type. The field is known as schema-version in the previous version.
13+
// EntityV3APIVersion 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.
1414
type EntityV3APIVersion string
1515

1616
// List of EntityV3APIVersion.
1717
const (
18-
ENTITYV3APIVERSION_V3 EntityV3APIVersion = "v3"
18+
ENTITYV3APIVERSION_V3 EntityV3APIVersion = "v3"
19+
ENTITYV3APIVERSION_V2_2 EntityV3APIVersion = "v2.2"
20+
ENTITYV3APIVERSION_V2_1 EntityV3APIVersion = "v2.1"
21+
ENTITYV3APIVERSION_V2 EntityV3APIVersion = "v2"
1922
)
2023

2124
var allowedEntityV3APIVersionEnumValues = []EntityV3APIVersion{
2225
ENTITYV3APIVERSION_V3,
26+
ENTITYV3APIVERSION_V2_2,
27+
ENTITYV3APIVERSION_V2_1,
28+
ENTITYV3APIVERSION_V2,
2329
}
2430

2531
// GetAllowedValues reeturns the list of possible values.

api/datadogV2/model_entity_v3_datastore.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212

1313
// EntityV3Datastore Schema for datastore entities.
1414
type EntityV3Datastore struct {
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
ApiVersion EntityV3APIVersion `json:"apiVersion"`
1717
// Datadog product integrations for the datastore entity.
1818
Datadog *EntityV3DatastoreDatadog `json:"datadog,omitempty"`

api/datadogV2/model_entity_v3_queue.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212

1313
// EntityV3Queue Schema for queue entities.
1414
type EntityV3Queue struct {
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
ApiVersion EntityV3APIVersion `json:"apiVersion"`
1717
// Datadog product integrations for the datastore entity.
1818
Datadog *EntityV3QueueDatadog `json:"datadog,omitempty"`

api/datadogV2/model_entity_v3_service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212

1313
// EntityV3Service Schema for service entities.
1414
type EntityV3Service struct {
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
ApiVersion EntityV3APIVersion `json:"apiVersion"`
1717
// Datadog product integrations for the service entity.
1818
Datadog *EntityV3ServiceDatadog `json:"datadog,omitempty"`

api/datadogV2/model_entity_v3_system.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212

1313
// EntityV3System Schema for system entities.
1414
type EntityV3System struct {
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
ApiVersion EntityV3APIVersion `json:"apiVersion"`
1717
// Datadog product integrations for the service entity.
1818
Datadog *EntityV3SystemDatadog `json:"datadog,omitempty"`

0 commit comments

Comments
 (0)