Skip to content

Commit bffd0d3

Browse files
committed
Update samples.schema.json
1 parent 87262fc commit bffd0d3

File tree

1 file changed

+69
-71
lines changed

1 file changed

+69
-71
lines changed

tests/samples.schema.json

Lines changed: 69 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -3,79 +3,77 @@
33
"properties": {
44
"SampleQueries": {
55
"type": "array",
6-
"items": [
7-
{
8-
"type": "object",
9-
"properties": {
10-
"id": {
11-
"type": "string",
12-
"format": "uuid"
13-
},
14-
"category": {
15-
"type": "string"
16-
},
17-
"method": {
18-
"type": "string",
19-
"enum": [
20-
"GET",
21-
"POST",
22-
"PUT",
23-
"PATCH",
24-
"DELETE"
25-
]
26-
},
27-
"humanName": {
28-
"type": "string"
29-
},
30-
"requestUrl": {
31-
"type": "string"
32-
},
33-
"docLink": {
34-
"type": "string",
35-
"format": "uri"
36-
},
37-
"tip": {
38-
"type": "string"
39-
},
40-
"postBody": {
41-
"type": "string"
42-
},
43-
"headers": {
44-
"type": "array",
45-
"items": [
46-
{
47-
"type": "object",
48-
"properties": {
49-
"name": {
50-
"type": "string"
51-
},
52-
"value": {
53-
"type": "string"
54-
}
6+
"items": {
7+
"type": "object",
8+
"properties": {
9+
"id": {
10+
"type": "string",
11+
"format": "uuid"
12+
},
13+
"category": {
14+
"type": "string"
15+
},
16+
"method": {
17+
"type": "string",
18+
"enum": [
19+
"GET",
20+
"POST",
21+
"PUT",
22+
"PATCH",
23+
"DELETE"
24+
]
25+
},
26+
"humanName": {
27+
"type": "string"
28+
},
29+
"requestUrl": {
30+
"type": "string"
31+
},
32+
"docLink": {
33+
"type": "string",
34+
"format": "uri"
35+
},
36+
"tip": {
37+
"type": "string"
38+
},
39+
"postBody": {
40+
"type": "string"
41+
},
42+
"headers": {
43+
"type": "array",
44+
"items": [
45+
{
46+
"type": "object",
47+
"properties": {
48+
"name": {
49+
"type": "string"
5550
},
56-
"additionalProperties": false,
57-
"required": [
58-
"name",
59-
"value"
60-
]
61-
}
62-
]
63-
},
64-
"skipTest": {
65-
"type": "boolean"
66-
}
51+
"value": {
52+
"type": "string"
53+
}
54+
},
55+
"additionalProperties": false,
56+
"required": [
57+
"name",
58+
"value"
59+
]
60+
}
61+
]
6762
},
68-
"additionalProperties": false,
69-
"required": [
70-
"id",
71-
"category",
72-
"method",
73-
"humanName",
74-
"requestUrl",
75-
"docLink"
76-
]
77-
}
78-
]
63+
"skipTest": {
64+
"type": "boolean"
65+
}
66+
},
67+
"additionalProperties": false,
68+
"required": [
69+
"id",
70+
"category",
71+
"method",
72+
"humanName",
73+
"requestUrl",
74+
"docLink"
75+
]
76+
}
7977
}
8078
},
8179
"additionalProperties": false,

0 commit comments

Comments
 (0)