Skip to content

Commit

Permalink
Update dashboard widget axis field descriptions (#1507)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Jun 14, 2023
1 parent b84918a commit 42a975f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 16 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.4",
"regenerated": "2023-06-14 14:30:34.005418",
"spec_repo_commit": "23362011"
"regenerated": "2023-06-14 19:36:43.904832",
"spec_repo_commit": "aafb3db6"
},
"v2": {
"apigentools_version": "1.6.4",
"regenerated": "2023-06-14 14:30:34.017315",
"spec_repo_commit": "23362011"
"regenerated": "2023-06-14 19:36:43.917759",
"spec_repo_commit": "aafb3db6"
}
}
}
15 changes: 8 additions & 7 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19146,25 +19146,26 @@ components:
description: Axis controls for the widget.
properties:
include_zero:
description: True includes zero.
description: Set to `true` to include zero.
type: boolean
label:
description: The label of the axis to display on the graph.
description: The label of the axis to display on the graph. Only usable
on Scatterplot Widgets.
type: string
max:
default: auto
description: Specifies the maximum value to show on the y-axis. It takes
a number, or auto for default behavior.
description: Specifies maximum numeric value to show on the axis. Defaults
to `auto`.
type: string
min:
default: auto
description: Specifies minimum value to show on the y-axis. It takes a number,
or auto for default behavior.
description: Specifies minimum numeric value to show on the axis. Defaults
to `auto`.
type: string
scale:
default: linear
description: Specifies the scale type. Possible values are `linear`, `log`,
`sqrt`, `pow##` (for example `pow2`, `pow0.5` etc.).
`sqrt`, and `pow##` (for example `pow2` or `pow0.5`).
type: string
type: object
WidgetChangeType:
Expand Down
10 changes: 5 additions & 5 deletions src/datadog_api_client/v1/model/widget_axis.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,19 @@ def __init__(
"""
Axis controls for the widget.
:param include_zero: True includes zero.
:param include_zero: Set to ``true`` to include zero.
:type include_zero: bool, optional
:param label: The label of the axis to display on the graph.
:param label: The label of the axis to display on the graph. Only usable on Scatterplot Widgets.
:type label: str, optional
:param max: Specifies the maximum value to show on the y-axis. It takes a number, or auto for default behavior.
:param max: Specifies maximum numeric value to show on the axis. Defaults to ``auto``.
:type max: str, optional
:param min: Specifies minimum value to show on the y-axis. It takes a number, or auto for default behavior.
:param min: Specifies minimum numeric value to show on the axis. Defaults to ``auto``.
:type min: str, optional
:param scale: Specifies the scale type. Possible values are ``linear`` , ``log`` , ``sqrt`` , ``pow##`` (for example ``pow2`` , ``pow0.5`` etc.).
:param scale: Specifies the scale type. Possible values are ``linear`` , ``log`` , ``sqrt`` , and ``pow##`` (for example ``pow2`` or ``pow0.5`` ).
:type scale: str, optional
"""
if include_zero is not unset:
Expand Down

0 comments on commit 42a975f

Please sign in to comment.