Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify owner properties to be a string #2036

Merged
merged 1 commit into from
Feb 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}
10 changes: 2 additions & 8 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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.
Expand Down
1 change: 0 additions & 1 deletion packages/datadog-api-client-v2/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
5 changes: 2 additions & 3 deletions packages/datadog-api-client-v2/models/EntityV3Metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down Expand Up @@ -57,7 +56,7 @@ export class EntityV3Metadata {
/**
* The owner of the entity, usually a team.
*/
"owner"?: EntityV3MetadataOwner;
"owner"?: string;
/**
* A set of custom tags.
*/
Expand Down Expand Up @@ -115,7 +114,7 @@ export class EntityV3Metadata {
},
owner: {
baseName: "owner",
type: "EntityV3MetadataOwner",
type: "string",
},
tags: {
baseName: "tags",
Expand Down
41 changes: 0 additions & 41 deletions packages/datadog-api-client-v2/models/EntityV3MetadataOwner.ts

This file was deleted.

2 changes: 0 additions & 2 deletions packages/datadog-api-client-v2/models/ObjectSerializer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -2920,7 +2919,6 @@ const typeMap: { [index: string]: any } = {
EntityV3MetadataAdditionalOwnersItems: EntityV3MetadataAdditionalOwnersItems,
EntityV3MetadataContactsItems: EntityV3MetadataContactsItems,
EntityV3MetadataLinksItems: EntityV3MetadataLinksItems,
EntityV3MetadataOwner: EntityV3MetadataOwner,
EntityV3Queue: EntityV3Queue,
EntityV3QueueDatadog: EntityV3QueueDatadog,
EntityV3QueueSpec: EntityV3QueueSpec,
Expand Down
Loading