diff --git a/.apigentools-info b/.apigentools-info index ba7281fe76d..9129277bbeb 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2025-02-03 19:47:19.600144", - "spec_repo_commit": "b52549d9" + "regenerated": "2025-02-04 14:09:59.993284", + "spec_repo_commit": "4fb9047a" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2025-02-03 19:47:19.615575", - "spec_repo_commit": "b52549d9" + "regenerated": "2025-02-04 14:10:00.009911", + "spec_repo_commit": "4fb9047a" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 81b665a9cf3..831530e2584 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -10871,7 +10871,8 @@ components: minLength: 1 type: string owner: - $ref: '#/components/schemas/EntityV3MetadataOwner' + description: The owner of the entity, usually a team. + type: string tags: description: A set of custom tags. example: @@ -10940,13 +10941,6 @@ components: - type - url type: object - EntityV3MetadataOwner: - additionalProperties: false - description: The owner of the entity, usually a team. - properties: - name: - description: Team name. - type: string EntityV3Queue: additionalProperties: false description: Schema for queue entities. diff --git a/packages/datadog-api-client-v2/index.ts b/packages/datadog-api-client-v2/index.ts index a38a38c5770..2229d9f7aa3 100644 --- a/packages/datadog-api-client-v2/index.ts +++ b/packages/datadog-api-client-v2/index.ts @@ -1262,7 +1262,6 @@ export { EntityV3Metadata } from "./models/EntityV3Metadata"; export { EntityV3MetadataAdditionalOwnersItems } from "./models/EntityV3MetadataAdditionalOwnersItems"; export { EntityV3MetadataContactsItems } from "./models/EntityV3MetadataContactsItems"; export { EntityV3MetadataLinksItems } from "./models/EntityV3MetadataLinksItems"; -export { EntityV3MetadataOwner } from "./models/EntityV3MetadataOwner"; export { EntityV3Queue } from "./models/EntityV3Queue"; export { EntityV3QueueDatadog } from "./models/EntityV3QueueDatadog"; export { EntityV3QueueKind } from "./models/EntityV3QueueKind"; diff --git a/packages/datadog-api-client-v2/models/EntityV3Metadata.ts b/packages/datadog-api-client-v2/models/EntityV3Metadata.ts index e99542ddbf4..da720df1ea8 100644 --- a/packages/datadog-api-client-v2/models/EntityV3Metadata.ts +++ b/packages/datadog-api-client-v2/models/EntityV3Metadata.ts @@ -6,7 +6,6 @@ import { EntityV3MetadataAdditionalOwnersItems } from "./EntityV3MetadataAdditionalOwnersItems"; import { EntityV3MetadataContactsItems } from "./EntityV3MetadataContactsItems"; import { EntityV3MetadataLinksItems } from "./EntityV3MetadataLinksItems"; -import { EntityV3MetadataOwner } from "./EntityV3MetadataOwner"; import { AttributeTypeMap } from "../../datadog-api-client-common/util"; @@ -57,7 +56,7 @@ export class EntityV3Metadata { /** * The owner of the entity, usually a team. */ - "owner"?: EntityV3MetadataOwner; + "owner"?: string; /** * A set of custom tags. */ @@ -115,7 +114,7 @@ export class EntityV3Metadata { }, owner: { baseName: "owner", - type: "EntityV3MetadataOwner", + type: "string", }, tags: { baseName: "tags", diff --git a/packages/datadog-api-client-v2/models/EntityV3MetadataOwner.ts b/packages/datadog-api-client-v2/models/EntityV3MetadataOwner.ts deleted file mode 100644 index 32ffd7ccf6f..00000000000 --- a/packages/datadog-api-client-v2/models/EntityV3MetadataOwner.ts +++ /dev/null @@ -1,41 +0,0 @@ -/** - * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. - * This product includes software developed at Datadog (https://www.datadoghq.com/). - * Copyright 2020-Present Datadog, Inc. - */ - -import { AttributeTypeMap } from "../../datadog-api-client-common/util"; - -/** - * The owner of the entity, usually a team. - */ -export class EntityV3MetadataOwner { - /** - * Team name. - */ - "name"?: string; - - /** - * @ignore - */ - "_unparsed"?: boolean; - - /** - * @ignore - */ - static readonly attributeTypeMap: AttributeTypeMap = { - name: { - baseName: "name", - type: "string", - }, - }; - - /** - * @ignore - */ - static getAttributeTypeMap(): AttributeTypeMap { - return EntityV3MetadataOwner.attributeTypeMap; - } - - public constructor() {} -} diff --git a/packages/datadog-api-client-v2/models/ObjectSerializer.ts b/packages/datadog-api-client-v2/models/ObjectSerializer.ts index 9ec0bbadbb8..f8b00fd85d8 100644 --- a/packages/datadog-api-client-v2/models/ObjectSerializer.ts +++ b/packages/datadog-api-client-v2/models/ObjectSerializer.ts @@ -485,7 +485,6 @@ import { EntityV3Metadata } from "./EntityV3Metadata"; import { EntityV3MetadataAdditionalOwnersItems } from "./EntityV3MetadataAdditionalOwnersItems"; import { EntityV3MetadataContactsItems } from "./EntityV3MetadataContactsItems"; import { EntityV3MetadataLinksItems } from "./EntityV3MetadataLinksItems"; -import { EntityV3MetadataOwner } from "./EntityV3MetadataOwner"; import { EntityV3Queue } from "./EntityV3Queue"; import { EntityV3QueueDatadog } from "./EntityV3QueueDatadog"; import { EntityV3QueueSpec } from "./EntityV3QueueSpec"; @@ -2920,7 +2919,6 @@ const typeMap: { [index: string]: any } = { EntityV3MetadataAdditionalOwnersItems: EntityV3MetadataAdditionalOwnersItems, EntityV3MetadataContactsItems: EntityV3MetadataContactsItems, EntityV3MetadataLinksItems: EntityV3MetadataLinksItems, - EntityV3MetadataOwner: EntityV3MetadataOwner, EntityV3Queue: EntityV3Queue, EntityV3QueueDatadog: EntityV3QueueDatadog, EntityV3QueueSpec: EntityV3QueueSpec,