Skip to content

Commit 063e2e4

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 3fedb74d of spec repo (#1048)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent 4c2f580 commit 063e2e4

File tree

5 files changed

+38
-4
lines changed

5 files changed

+38
-4
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.2",
7-
"regenerated": "2022-06-16 11:27:47.278920",
8-
"spec_repo_commit": "9397edbc"
7+
"regenerated": "2022-06-16 12:03:23.198256",
8+
"spec_repo_commit": "3fedb74d"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.2",
12-
"regenerated": "2022-06-16 11:27:47.292196",
13-
"spec_repo_commit": "9397edbc"
12+
"regenerated": "2022-06-16 12:03:23.229057",
13+
"spec_repo_commit": "3fedb74d"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18710,6 +18710,22 @@ paths:
1871018710
required: false
1871118711
schema:
1871218712
type: string
18713+
- description: The height of the graph. If no height is specified, the graph's
18714+
original height is used.
18715+
in: query
18716+
name: height
18717+
required: false
18718+
schema:
18719+
format: int64
18720+
type: integer
18721+
- description: The width of the graph. If no width is specified, the graph's
18722+
original width is used.
18723+
in: query
18724+
name: width
18725+
required: false
18726+
schema:
18727+
format: int64
18728+
type: integer
1871318729
responses:
1871418730
'200':
1871518731
content:

examples/v1/snapshots/GetGraphSnapshot.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
start=int((datetime.now() + relativedelta(days=-1)).timestamp()),
1616
end=int(datetime.now().timestamp()),
1717
title="System load",
18+
height=400,
19+
width=600,
1820
)
1921

2022
print(response)

src/datadog_api_client/v1/api/snapshots_api.py

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/v1/features/snapshots.feature

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,7 @@ Feature: Snapshots
2121
And request contains "end" parameter with value {{ timestamp("now") }}
2222
And request contains "metric_query" parameter with value "avg:system.load.1{*}"
2323
And request contains "title" parameter with value "System load"
24+
And request contains "height" parameter with value 400
25+
And request contains "width" parameter with value 600
2426
When the request is sent
2527
Then the response status is 200 OK

0 commit comments

Comments
 (0)