Skip to content

Commit

Permalink
Modify owner properties to be a string (#2227)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <[email protected]>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Feb 4, 2025
1 parent bd24447 commit 5e17484
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 94 deletions.
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:16.708391",
"spec_repo_commit": "b52549d9"
"regenerated": "2025-02-04 14:10:05.819748",
"spec_repo_commit": "4fb9047a"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2025-02-03 19:47:16.725832",
"spec_repo_commit": "b52549d9"
"regenerated": "2025-02-04 14:10:05.835266",
"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 lib/datadog_api_client/inflector.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1536,7 +1536,6 @@ def overrides
"v2.entity_v3_metadata_additional_owners_items" => "EntityV3MetadataAdditionalOwnersItems",
"v2.entity_v3_metadata_contacts_items" => "EntityV3MetadataContactsItems",
"v2.entity_v3_metadata_links_items" => "EntityV3MetadataLinksItems",
"v2.entity_v3_metadata_owner" => "EntityV3MetadataOwner",
"v2.entity_v3_queue" => "EntityV3Queue",
"v2.entity_v3_queue_datadog" => "EntityV3QueueDatadog",
"v2.entity_v3_queue_kind" => "EntityV3QueueKind",
Expand Down
2 changes: 1 addition & 1 deletion lib/datadog_api_client/v2/models/entity_v3_metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def self.openapi_types
:'managed' => :'Hash<String, Object>',
:'name' => :'String',
:'namespace' => :'String',
:'owner' => :'EntityV3MetadataOwner',
:'owner' => :'String',
:'tags' => :'Array<String>'
}
end
Expand Down
80 changes: 0 additions & 80 deletions lib/datadog_api_client/v2/models/entity_v3_metadata_owner.rb

This file was deleted.

0 comments on commit 5e17484

Please sign in to comment.