Skip to content

Commit b0e555b

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit f496896d of spec repo
1 parent c09810e commit b0e555b

File tree

16 files changed

+341
-201
lines changed

16 files changed

+341
-201
lines changed

.apigentools-info

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2024-06-27 17:06:10.290866",
8-
"spec_repo_commit": "5ebef994"
7+
"regenerated": "2024-06-28 14:54:55.098306",
8+
"spec_repo_commit": "f496896d"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-06-27 17:06:10.309309",
13-
"spec_repo_commit": "5ebef994"
12+
"regenerated": "2024-06-28 14:54:55.115960",
13+
"spec_repo_commit": "f496896d"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

+72-42
Original file line numberDiff line numberDiff line change
@@ -13369,60 +13369,24 @@ components:
1336913369
$ref: '#/components/schemas/WidgetStyle'
1337013370
type: object
1337113371
SyntheticsAPIStep:
13372-
description: The steps used in a Synthetic multistep API test.
13373-
properties:
13374-
allowFailure:
13375-
description: Determines whether or not to continue with test if this step
13376-
fails.
13377-
type: boolean
13378-
assertions:
13379-
default: []
13380-
description: Array of assertions used for the test.
13381-
example:
13382-
- operator: lessThan
13383-
target: 1000
13384-
type: responseTime
13385-
items:
13386-
$ref: '#/components/schemas/SyntheticsAssertion'
13387-
type: array
13388-
extractedValues:
13389-
description: Array of values to parse and save as variables from the response.
13390-
items:
13391-
$ref: '#/components/schemas/SyntheticsParsingOptions'
13392-
type: array
13393-
isCritical:
13394-
description: 'Determines whether or not to consider the entire test as failed
13395-
if this step fails.
13396-
13397-
Can be used only if `allowFailure` is `true`.'
13398-
type: boolean
13399-
name:
13400-
description: The name of the step.
13401-
example: Example step name
13402-
type: string
13403-
request:
13404-
$ref: '#/components/schemas/SyntheticsTestRequest'
13405-
retry:
13406-
$ref: '#/components/schemas/SyntheticsTestOptionsRetry'
13407-
subtype:
13408-
$ref: '#/components/schemas/SyntheticsAPIStepSubtype'
13409-
required:
13410-
- assertions
13411-
- request
13412-
- name
13413-
- subtype
13372+
description: The steps used in a Synthetic multi-step API test.
13373+
oneOf:
13374+
- $ref: '#/components/schemas/SyntheticsAPITestStep'
13375+
- $ref: '#/components/schemas/SyntheticsAPIWaitStep'
1341413376
type: object
1341513377
SyntheticsAPIStepSubtype:
1341613378
description: The subtype of the Synthetic multistep API test step, currently
1341713379
only supporting `http`.
1341813380
enum:
1341913381
- http
1342013382
- grpc
13383+
- wait
1342113384
example: http
1342213385
type: string
1342313386
x-enum-varnames:
1342413387
- HTTP
1342513388
- GRPC
13389+
- WAIT
1342613390
SyntheticsAPITest:
1342713391
description: Object containing details about a Synthetic API test.
1342813392
properties:
@@ -13611,6 +13575,50 @@ components:
1361113575
timings:
1361213576
$ref: '#/components/schemas/SyntheticsTiming'
1361313577
type: object
13578+
SyntheticsAPITestStep:
13579+
description: The Test step used in a Synthetic multi-step API test.
13580+
properties:
13581+
allowFailure:
13582+
description: Determines whether or not to continue with test if this step
13583+
fails.
13584+
type: boolean
13585+
assertions:
13586+
default: []
13587+
description: Array of assertions used for the test.
13588+
example:
13589+
- operator: lessThan
13590+
target: 1000
13591+
type: responseTime
13592+
items:
13593+
$ref: '#/components/schemas/SyntheticsAssertion'
13594+
type: array
13595+
extractedValues:
13596+
description: Array of values to parse and save as variables from the response.
13597+
items:
13598+
$ref: '#/components/schemas/SyntheticsParsingOptions'
13599+
type: array
13600+
isCritical:
13601+
description: 'Determines whether or not to consider the entire test as failed
13602+
if this step fails.
13603+
13604+
Can be used only if `allowFailure` is `true`.'
13605+
type: boolean
13606+
name:
13607+
description: The name of the step.
13608+
example: Example step name
13609+
type: string
13610+
request:
13611+
$ref: '#/components/schemas/SyntheticsTestRequest'
13612+
retry:
13613+
$ref: '#/components/schemas/SyntheticsTestOptionsRetry'
13614+
subtype:
13615+
$ref: '#/components/schemas/SyntheticsAPIStepSubtype'
13616+
required:
13617+
- assertions
13618+
- request
13619+
- name
13620+
- subtype
13621+
type: object
1361413622
SyntheticsAPITestType:
1361513623
default: api
1361613624
description: Type of the Synthetic test, `api`.
@@ -13620,6 +13628,28 @@ components:
1362013628
type: string
1362113629
x-enum-varnames:
1362213630
- API
13631+
SyntheticsAPIWaitStep:
13632+
description: The Wait step used in a Synthetic multi-step API test.
13633+
properties:
13634+
name:
13635+
description: The name of the step.
13636+
example: Example step name
13637+
type: string
13638+
subtype:
13639+
$ref: '#/components/schemas/SyntheticsAPIStepSubtype'
13640+
value:
13641+
description: 'The time to wait in seconds. Minimum value: 0. Maximum value:
13642+
180.'
13643+
example: 5
13644+
format: int32
13645+
maximum: 180
13646+
minimum: 0
13647+
type: integer
13648+
required:
13649+
- name
13650+
- subtype
13651+
- value
13652+
type: object
1362313653
SyntheticsApiTestFailureCode:
1362413654
description: Error code that can be returned by a Synthetic test.
1362513655
enum:
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2024-03-13T08:48:00.559Z"
1+
"2024-06-25T09:44:03.099Z"

0 commit comments

Comments
 (0)