Skip to content
Closed
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-04-03 16:27:53.688587",
"spec_repo_commit": "4468962d"
"regenerated": "2025-04-03 20:27:34.680616",
"spec_repo_commit": "17df409e"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2025-04-03 16:27:53.704116",
"spec_repo_commit": "4468962d"
"regenerated": "2025-04-03 20:27:34.697025",
"spec_repo_commit": "17df409e"
}
}
}
10 changes: 6 additions & 4 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1623,10 +1623,7 @@ components:
- - 0.5
- 1.0
items:
description: List of distribution point.
oneOf:
- $ref: '#/components/schemas/DistributionPointTimestamp'
- $ref: '#/components/schemas/DistributionPointData'
$ref: '#/components/schemas/DistributionPointItems'
maxItems: 2
minItems: 2
type: array
Expand All @@ -1637,6 +1634,11 @@ components:
format: double
type: number
type: array
DistributionPointItems:
description: List of distribution point.
oneOf:
- $ref: '#/components/schemas/DistributionPointTimestamp'
- $ref: '#/components/schemas/DistributionPointData'
DistributionPointTimestamp:
description: Distribution point timestamp. It should be in seconds and current.
format: double
Expand Down
2 changes: 1 addition & 1 deletion lib/datadog_api_client/inflector.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def overrides
"v1.dashboard_type" => "DashboardType",
"v1.deleted_monitor" => "DeletedMonitor",
"v1.delete_shared_dashboard_response" => "DeleteSharedDashboardResponse",
"v1.distribution_point_item" => "DistributionPointItem",
"v1.distribution_point_items" => "DistributionPointItems",
"v1.distribution_points_content_encoding" => "DistributionPointsContentEncoding",
"v1.distribution_points_payload" => "DistributionPointsPayload",
"v1.distribution_points_series" => "DistributionPointsSeries",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

module DatadogAPIClient::V1
# List of distribution point.
module DistributionPointItem
module DistributionPointItems
class << self
include BaseOneOfModel
include BaseOneOfModelNoDiscriminator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def self.openapi_types
{
:'host' => :'String',
:'metric' => :'String',
:'points' => :'Array<Array<DistributionPointItem>>',
:'points' => :'Array<Array<DistributionPointItems>>',
:'tags' => :'Array<String>',
:'type' => :'DistributionPointsType'
}
Expand Down
Loading