From bc1f3ddca664b5d4f78b1512c8553c8ad892ff04 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Tue, 20 Feb 2024 12:23:26 +0000 Subject: [PATCH] Regenerate client from commit 7e467650 of spec repo --- .apigentools-info | 8 ++++---- .generator/schemas/v2/openapi.yaml | 3 ++- api/datadogV2/model_ci_app_aggregate_sort.go | 2 +- api/datadogV2/model_ci_app_pipelines_group_by.go | 2 +- api/datadogV2/model_ci_app_tests_group_by.go | 2 +- 5 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 9585ad6a875..3e0d2ebecde 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-16 18:02:50.850356", - "spec_repo_commit": "dc02d0d0" + "regenerated": "2024-02-20 12:21:52.216044", + "spec_repo_commit": "7e467650" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-16 18:02:50.865580", - "spec_repo_commit": "dc02d0d0" + "regenerated": "2024-02-20 12:21:52.235691", + "spec_repo_commit": "7e467650" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index fed2ffd9be7..5d118d9175c 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -2039,7 +2039,8 @@ components: type: number type: object CIAppAggregateSort: - description: A sort rule. + description: A sort rule. The `aggregation` field is required when `type` is + `measure`. example: aggregation: count order: asc diff --git a/api/datadogV2/model_ci_app_aggregate_sort.go b/api/datadogV2/model_ci_app_aggregate_sort.go index 2dfce3d06fd..689806ed36c 100644 --- a/api/datadogV2/model_ci_app_aggregate_sort.go +++ b/api/datadogV2/model_ci_app_aggregate_sort.go @@ -8,7 +8,7 @@ import ( "github.com/DataDog/datadog-api-client-go/v2/api/datadog" ) -// CIAppAggregateSort A sort rule. +// CIAppAggregateSort A sort rule. The `aggregation` field is required when `type` is `measure`. type CIAppAggregateSort struct { // An aggregation function. Aggregation *CIAppAggregationFunction `json:"aggregation,omitempty"` diff --git a/api/datadogV2/model_ci_app_pipelines_group_by.go b/api/datadogV2/model_ci_app_pipelines_group_by.go index b73d0a97dfe..4af9427ea4e 100644 --- a/api/datadogV2/model_ci_app_pipelines_group_by.go +++ b/api/datadogV2/model_ci_app_pipelines_group_by.go @@ -21,7 +21,7 @@ type CIAppPipelinesGroupBy struct { Limit *int64 `json:"limit,omitempty"` // The value to use for logs that don't have the facet used to group-by. Missing *CIAppGroupByMissing `json:"missing,omitempty"` - // A sort rule. + // A sort rule. The `aggregation` field is required when `type` is `measure`. Sort *CIAppAggregateSort `json:"sort,omitempty"` // A resulting object to put the given computes in over all the matching records. Total *CIAppGroupByTotal `json:"total,omitempty"` diff --git a/api/datadogV2/model_ci_app_tests_group_by.go b/api/datadogV2/model_ci_app_tests_group_by.go index fe8b3532d2d..69c76f55c58 100644 --- a/api/datadogV2/model_ci_app_tests_group_by.go +++ b/api/datadogV2/model_ci_app_tests_group_by.go @@ -21,7 +21,7 @@ type CIAppTestsGroupBy struct { Limit *int64 `json:"limit,omitempty"` // The value to use for logs that don't have the facet used to group-by. Missing *CIAppGroupByMissing `json:"missing,omitempty"` - // A sort rule. + // A sort rule. The `aggregation` field is required when `type` is `measure`. Sort *CIAppAggregateSort `json:"sort,omitempty"` // A resulting object to put the given computes in over all the matching records. Total *CIAppGroupByTotal `json:"total,omitempty"`