File tree Expand file tree Collapse file tree 2 files changed +45
-45
lines changed Expand file tree Collapse file tree 2 files changed +45
-45
lines changed Original file line number Diff line number Diff line change 4
4
"spec_versions": {
5
5
"v1": {
6
6
"apigentools_version": "1.5.1.dev2",
7
- "regenerated": "2021-11-04 19:47:03.525458 ",
8
- "spec_repo_commit": "51e9017 "
7
+ "regenerated": "2021-11-08 11:00:32.170076 ",
8
+ "spec_repo_commit": "63c3c10 "
9
9
},
10
10
"v2": {
11
11
"apigentools_version": "1.5.1.dev2",
12
- "regenerated": "2021-11-04 19:47:04.382840 ",
13
- "spec_repo_commit": "51e9017 "
12
+ "regenerated": "2021-11-08 11:00:32.808503 ",
13
+ "spec_repo_commit": "63c3c10 "
14
14
}
15
15
}
16
16
}
Original file line number Diff line number Diff line change @@ -21920,7 +21920,47 @@ paths:
21920
21920
content:
21921
21921
application/json:
21922
21922
examples:
21923
- multistep-api-test:
21923
+ 1-simple-api-test:
21924
+ description: Example of an API test.
21925
+ summary: Create an API test.
21926
+ value:
21927
+ config:
21928
+ assertions:
21929
+ - operator: lessThan
21930
+ target: 1000
21931
+ type: responseTime
21932
+ - operator: is
21933
+ target: 200
21934
+ type: statusCode
21935
+ - operator: is
21936
+ property: content-type
21937
+ target: text/html; charset=UTF-8
21938
+ type: header
21939
+ request:
21940
+ method: GET
21941
+ url: https://example.com
21942
+ locations:
21943
+ - azure:eastus
21944
+ - aws:eu-west-3
21945
+ message: <NOTIFICATION MESSAGE>
21946
+ name: <TEST NAME>
21947
+ options:
21948
+ min_failure_duration: 0
21949
+ min_location_failed: 1
21950
+ monitor_options:
21951
+ include_tags: true
21952
+ locked: false
21953
+ new_host_delay: 300
21954
+ notify_audit: false
21955
+ notify_no_data: false
21956
+ renotify_interval: 0
21957
+ tick_every: 60
21958
+ status: live
21959
+ subtype: http
21960
+ tags:
21961
+ - env:production
21962
+ type: api
21963
+ 2-multistep-api-test:
21924
21964
description: 'Example of a multistep API test running on a fake furniture
21925
21965
store.
21926
21966
@@ -21998,46 +22038,6 @@ paths:
21998
22038
tags:
21999
22039
- env:prod
22000
22040
type: api
22001
- simple-api-test:
22002
- description: Example of an API test.
22003
- summary: Create an API test.
22004
- value:
22005
- config:
22006
- assertions:
22007
- - operator: lessThan
22008
- target: 1000
22009
- type: responseTime
22010
- - operator: is
22011
- target: 200
22012
- type: statusCode
22013
- - operator: is
22014
- property: content-type
22015
- target: text/html; charset=UTF-8
22016
- type: header
22017
- request:
22018
- method: GET
22019
- url: https://example.com
22020
- locations:
22021
- - azure:eastus
22022
- - aws:eu-west-3
22023
- message: <NOTIFICATION MESSAGE>
22024
- name: <TEST NAME>
22025
- options:
22026
- min_failure_duration: 0
22027
- min_location_failed: 1
22028
- monitor_options:
22029
- include_tags: true
22030
- locked: false
22031
- new_host_delay: 300
22032
- notify_audit: false
22033
- notify_no_data: false
22034
- renotify_interval: 0
22035
- tick_every: 60
22036
- status: live
22037
- subtype: http
22038
- tags:
22039
- - env:production
22040
- type: api
22041
22041
schema:
22042
22042
$ref: '#/components/schemas/SyntheticsAPITest'
22043
22043
description: Details of the test to create.
You can’t perform that action at this time.
0 commit comments