Skip to content

Commit 2f0b916

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 5808ab7 of spec repo (#367)
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 67c7f2a commit 2f0b916

File tree

7 files changed

+76
-39
lines changed

7 files changed

+76
-39
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.1",
7-
"regenerated": "2022-01-18 11:14:20.836746",
8-
"spec_repo_commit": "1d04508"
7+
"regenerated": "2022-01-18 11:51:59.279443",
8+
"spec_repo_commit": "5808ab7"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.1",
12-
"regenerated": "2022-01-18 11:14:20.852995",
13-
"spec_repo_commit": "1d04508"
12+
"regenerated": "2022-01-18 11:51:59.300294",
13+
"spec_repo_commit": "5808ab7"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9759,6 +9759,10 @@ components:
97599759
assertions:
97609760
default: []
97619761
description: Array of assertions used for the test.
9762+
example:
9763+
- operator: lessThan
9764+
target: 1000
9765+
type: responseTime
97629766
items:
97639767
$ref: '#/components/schemas/SyntheticsAssertion'
97649768
type: array
@@ -9775,19 +9779,26 @@ components:
97759779
type: boolean
97769780
name:
97779781
description: The name of the step.
9782+
example: Example step name
97789783
type: string
97799784
request:
97809785
$ref: '#/components/schemas/SyntheticsTestRequest'
97819786
retry:
97829787
$ref: '#/components/schemas/SyntheticsTestOptionsRetry'
97839788
subtype:
97849789
$ref: '#/components/schemas/SyntheticsAPIStepSubtype'
9790+
required:
9791+
- assertions
9792+
- request
9793+
- name
9794+
- subtype
97859795
type: object
97869796
SyntheticsAPIStepSubtype:
97879797
description: The subtype of the Synthetic multistep API test step, currently
97889798
only supporting `http`.
97899799
enum:
97909800
- http
9801+
example: http
97919802
type: string
97929803
x-enum-varnames:
97939804
- HTTP
@@ -9816,7 +9827,7 @@ components:
98169827
type: integer
98179828
name:
98189829
description: Name of the test.
9819-
example: Test name
9830+
example: Example test name
98209831
type: string
98219832
options:
98229833
$ref: '#/components/schemas/SyntheticsTestOptions'
@@ -9839,6 +9850,12 @@ components:
98399850
type: array
98409851
type:
98419852
$ref: '#/components/schemas/SyntheticsAPITestType'
9853+
required:
9854+
- name
9855+
- config
9856+
- locations
9857+
- options
9858+
- type
98429859
type: object
98439860
SyntheticsAPITestConfig:
98449861
description: Configuration object for a Synthetic API test.
@@ -10314,6 +10331,8 @@ components:
1031410331
$ref: '#/components/schemas/SyntheticsBrowserTestConfig'
1031510332
locations:
1031610333
description: Array of locations used to run the test.
10334+
example:
10335+
- example-location
1031710336
items:
1031810337
description: A location from which the test was run.
1031910338
type: string
@@ -10330,6 +10349,7 @@ components:
1033010349
type: integer
1033110350
name:
1033210351
description: Name of the test.
10352+
example: Example test name
1033310353
type: string
1033410354
options:
1033510355
$ref: '#/components/schemas/SyntheticsTestOptions'
@@ -10353,7 +10373,11 @@ components:
1035310373
type:
1035410374
$ref: '#/components/schemas/SyntheticsBrowserTestType'
1035510375
required:
10356-
- message
10376+
- config
10377+
- locations
10378+
- name
10379+
- options
10380+
- type
1035710381
type: object
1035810382
SyntheticsBrowserTestConfig:
1035910383
description: Configuration object for a Synthetic browser test.

docs/v1/SyntheticsApi.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ let params: v1.SyntheticsApiCreateSyntheticsAPITestRequest = {
279279
},
280280
],
281281
isCritical: true,
282-
name: "name_example",
282+
name: "Example step name",
283283
request: {
284284
allowInsecure: true,
285285
basicAuth: {
@@ -334,7 +334,7 @@ let params: v1.SyntheticsApiCreateSyntheticsAPITestRequest = {
334334
},
335335
locations: ["aws:eu-west-3"],
336336
message: "Notification message",
337-
name: "Test name",
337+
name: "Example test name",
338338
options: {
339339
acceptSelfSigned: true,
340340
allowInsecure: true,
@@ -494,9 +494,9 @@ let params: v1.SyntheticsApiCreateSyntheticsBrowserTestRequest = {
494494
},
495495
],
496496
},
497-
locations: ["locations_example"],
497+
locations: ["example-location"],
498498
message: "",
499-
name: "name_example",
499+
name: "Example test name",
500500
options: {
501501
acceptSelfSigned: true,
502502
allowInsecure: true,
@@ -1906,7 +1906,7 @@ let params: v1.SyntheticsApiUpdateAPITestRequest = {
19061906
},
19071907
],
19081908
isCritical: true,
1909-
name: "name_example",
1909+
name: "Example step name",
19101910
request: {
19111911
allowInsecure: true,
19121912
basicAuth: {
@@ -1961,7 +1961,7 @@ let params: v1.SyntheticsApiUpdateAPITestRequest = {
19611961
},
19621962
locations: ["aws:eu-west-3"],
19631963
message: "Notification message",
1964-
name: "Test name",
1964+
name: "Example test name",
19651965
options: {
19661966
acceptSelfSigned: true,
19671967
allowInsecure: true,
@@ -2124,9 +2124,9 @@ let params: v1.SyntheticsApiUpdateBrowserTestRequest = {
21242124
},
21252125
],
21262126
},
2127-
locations: ["locations_example"],
2127+
locations: ["example-location"],
21282128
message: "",
2129-
name: "name_example",
2129+
name: "Example test name",
21302130
options: {
21312131
acceptSelfSigned: true,
21322132
allowInsecure: true,

0 commit comments

Comments
 (0)