Skip to content

Commit 50e0042

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 21cfefb of spec repo
1 parent 877e7b7 commit 50e0042

File tree

8 files changed

+25
-10
lines changed

8 files changed

+25
-10
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13699,14 +13699,21 @@ components:
1369913699
type: string
1370013700
type: object
1370113701
EntityV3APIVersion:
13702-
description: The schema version of entity type. The field is known as schema-version
13703-
in the previous version.
13702+
description: The version of the schema data that was used to populate this entity's
13703+
data. This could be via the API, Terraform, or YAML file in a repository.
13704+
The field is known as schema-version in the previous version.
1370413705
enum:
1370513706
- v3
13707+
- v2.2
13708+
- v2.1
13709+
- v2
1370613710
example: v3
1370713711
type: string
1370813712
x-enum-varnames:
1370913713
- V3
13714+
- V2_2
13715+
- V2_1
13716+
- V2
1371013717
EntityV3DatadogCodeLocationItem:
1371113718
additionalProperties: false
1371213719
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)