mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-11 10:49:43 +08:00
change: add verify in config json schema
This commit is contained in:
@@ -32,6 +32,19 @@
|
|||||||
},
|
},
|
||||||
"teardown_hooks": {
|
"teardown_hooks": {
|
||||||
"$ref": "#/definitions/hook"
|
"$ref": "#/definitions/hook"
|
||||||
|
},
|
||||||
|
"verify": {
|
||||||
|
"description": "configure verify for current testcase/testsuite",
|
||||||
|
"oneOf": [
|
||||||
|
{
|
||||||
|
"description": "whether we verify the server’s TLS certificate",
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "path to a CA bundle to use",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["name"]
|
"required": ["name"]
|
||||||
@@ -117,6 +130,7 @@
|
|||||||
"type": "object"
|
"type": "object"
|
||||||
},
|
},
|
||||||
"verify": {
|
"verify": {
|
||||||
|
"description": "configure verify for current api/teststep",
|
||||||
"oneOf": [
|
"oneOf": [
|
||||||
{
|
{
|
||||||
"description": "whether we verify the server’s TLS certificate",
|
"description": "whether we verify the server’s TLS certificate",
|
||||||
|
|||||||
Reference in New Issue
Block a user