Skip to content

Commit

Permalink
[SCV-141] Adding description to field that is conditionally required (#…
Browse files Browse the repository at this point in the history
…1872)

Co-authored-by: ci.datadog-api-spec <[email protected]>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Feb 20, 2024
1 parent d25cd73 commit 4aea472
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 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": "2024-02-16 18:02:51.487464",
"spec_repo_commit": "dc02d0d0"
"regenerated": "2024-02-20 12:21:47.886534",
"spec_repo_commit": "7e467650"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-02-16 18:02:51.501999",
"spec_repo_commit": "dc02d0d0"
"regenerated": "2024-02-20 12:21:47.901998",
"spec_repo_commit": "7e467650"
}
}
}
3 changes: 2 additions & 1 deletion .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/datadog_api_client/v2/model/ci_app_aggregate_sort.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def __init__(
**kwargs,
):
"""
A sort rule.
A sort rule. The ``aggregation`` field is required when ``type`` is ``measure``.
:param aggregation: An aggregation function.
:type aggregation: CIAppAggregationFunction, optional
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def __init__(
:param missing: The value to use for logs that don't have the facet used to group-by.
:type missing: CIAppGroupByMissing, optional
:param sort: A sort rule.
:param sort: A sort rule. The ``aggregation`` field is required when ``type`` is ``measure``.
:type sort: CIAppAggregateSort, optional
:param total: A resulting object to put the given computes in over all the matching records.
Expand Down
2 changes: 1 addition & 1 deletion src/datadog_api_client/v2/model/ci_app_tests_group_by.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def __init__(
:param missing: The value to use for logs that don't have the facet used to group-by.
:type missing: CIAppGroupByMissing, optional
:param sort: A sort rule.
:param sort: A sort rule. The ``aggregation`` field is required when ``type`` is ``measure``.
:type sort: CIAppAggregateSort, optional
:param total: A resulting object to put the given computes in over all the matching records.
Expand Down

0 comments on commit 4aea472

Please sign in to comment.