mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-15 12:27:59 +08:00
35 lines
980 B
JSON
35 lines
980 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema",
|
|
"description": "httprunner api schema definition",
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"$ref": "common.schema.json#/definitions/name"
|
|
},
|
|
"base_url": {
|
|
"$ref": "common.schema.json#/definitions/base_url"
|
|
},
|
|
"variables": {
|
|
"$ref": "common.schema.json#/definitions/variables"
|
|
},
|
|
"request": {
|
|
"$ref": "common.schema.json#/definitions/request"
|
|
},
|
|
"setup_hooks": {
|
|
"$ref": "common.schema.json#/definitions/hook"
|
|
},
|
|
"teardown_hooks": {
|
|
"$ref": "common.schema.json#/definitions/hook"
|
|
},
|
|
"extract": {
|
|
"$ref": "common.schema.json#/definitions/extract"
|
|
},
|
|
"validate": {
|
|
"$ref": "common.schema.json#/definitions/validate"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"request"
|
|
]
|
|
} |