-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathv1.json
65 lines (65 loc) · 1.89 KB
/
v1.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"$schema": "http://json-schema.org/draft-06/schema",
"$id": "http://schema.httprunner.org/json/v1.json",
"title": "HttpRunner Schemas",
"description": "HttpRunner Schemas",
"type": "array",
"items": {
"oneOf": [
{"$ref": "#/definitions/config"},
{"$ref": "#/definitions/test"}
]
},
"definitions": {
"config": {
"$id": "#/definitions/config",
"description": "testset config, used for public configuration",
"type": "object",
"minProperties": 1,
"maxProperties": 1,
"properties": {
"config": {
"$ref": "#/definitions/config_dict"
}
},
"required": ["config"]
},
"config_dict": {
"$id": "#/definitions/config_dict",
"description": "testcase description",
"type": "object",
"properties": {
"name": {
"description": "testset name",
"type": "string"
}
},
"required": ["name"]
},
"test": {
"$id": "#/definitions/test",
"description": "testcase description",
"type": "object",
"minProperties": 1,
"maxProperties": 1,
"properties": {
"test": {
"$ref": "#/definitions/test_dict"
}
},
"required": ["test"]
},
"test_dict": {
"$id": "#/definitions/test_dict",
"description": "testcase description",
"type": "object",
"properties": {
"name": {
"description": "testcase name",
"type": "string"
}
},
"required": ["name"]
}
}
}