doc-detective-common 3.0.0-dev.0 → 3.0.0-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +661 -21
- package/package.json +6 -6
- package/src/files.js +31 -20
- package/src/index.js +2 -1
- package/src/resolvePaths.js +46 -42
- package/src/schemas/output_schemas/config_v3.schema.json +462 -388
- package/src/schemas/output_schemas/context_v3.schema.json +195 -162
- package/src/schemas/output_schemas/httpRequest_v3.schema.json +40 -18
- package/src/schemas/output_schemas/openApi_v3.schema.json +2 -2
- package/src/schemas/output_schemas/report_v3.schema.json +459 -383
- package/src/schemas/output_schemas/spec_v3.schema.json +452 -370
- package/src/schemas/output_schemas/step_v3.schema.json +44 -22
- package/src/schemas/output_schemas/test_v3.schema.json +247 -192
- package/src/schemas/schemas.json +1991 -1627
- package/src/schemas/src_schemas/config_v3.schema.json +22 -27
- package/src/schemas/src_schemas/context_v3.schema.json +88 -64
- package/src/schemas/src_schemas/httpRequest_v3.schema.json +19 -9
- package/src/schemas/src_schemas/openApi_v3.schema.json +2 -2
- package/src/schemas/src_schemas/spec_v3.schema.json +12 -30
- package/src/schemas/src_schemas/test_v3.schema.json +6 -6
- package/src/validate.js +44 -30
- package/test/files.test.js +8 -8
|
@@ -123,9 +123,16 @@
|
|
|
123
123
|
"type": "object",
|
|
124
124
|
"description": "A context in which to perform tests. If no contexts are specified but a context is required by one or more tests, Doc Detective attempts to identify a supported context in the current environment and run tests against it. For example, if a browser isn't specified but is required by steps in the test, Doc Detective will search for and use a supported browser available in the current environment.",
|
|
125
125
|
"additionalProperties": false,
|
|
126
|
+
"dynamicDefaults": {
|
|
127
|
+
"contextId": "uuid"
|
|
128
|
+
},
|
|
126
129
|
"properties": {
|
|
130
|
+
"contextId": {
|
|
131
|
+
"type": "string",
|
|
132
|
+
"description": "Unique identifier for the context."
|
|
133
|
+
},
|
|
127
134
|
"platforms": {
|
|
128
|
-
"description": "
|
|
135
|
+
"description": "Platforms to run tests on.",
|
|
129
136
|
"anyOf": [
|
|
130
137
|
{
|
|
131
138
|
"type": "string",
|
|
@@ -148,124 +155,45 @@
|
|
|
148
155
|
}
|
|
149
156
|
]
|
|
150
157
|
},
|
|
151
|
-
"
|
|
152
|
-
"
|
|
153
|
-
"
|
|
154
|
-
|
|
155
|
-
"properties": {
|
|
156
|
-
"executablePath": {
|
|
157
|
-
"type": "string",
|
|
158
|
-
"description": "Path to the browser executable. If not specified, defaults to the system default."
|
|
159
|
-
},
|
|
160
|
-
"driverPath": {
|
|
161
|
-
"type": "string",
|
|
162
|
-
"description": "Path to the browser driver. If not specified, defaults to internally managed dependencies."
|
|
163
|
-
},
|
|
164
|
-
"headless": {
|
|
165
|
-
"type": "boolean",
|
|
166
|
-
"description": "If `true`, runs the browser in headless mode."
|
|
167
|
-
},
|
|
168
|
-
"dimensions": {
|
|
169
|
-
"type": "object",
|
|
170
|
-
"description": "Browser dimensions.",
|
|
171
|
-
"additionalProperties": false,
|
|
172
|
-
"properties": {
|
|
173
|
-
"width": {
|
|
174
|
-
"type": "integer",
|
|
175
|
-
"description": "Width of the browser window in pixels."
|
|
176
|
-
},
|
|
177
|
-
"height": {
|
|
178
|
-
"type": "integer",
|
|
179
|
-
"description": "Height of the browser window in pixels."
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
},
|
|
183
|
-
"viewport": {
|
|
184
|
-
"type": "object",
|
|
185
|
-
"description": "Viewport dimensions.",
|
|
186
|
-
"additionalProperties": false,
|
|
187
|
-
"properties": {
|
|
188
|
-
"width": {
|
|
189
|
-
"type": "integer",
|
|
190
|
-
"description": "Width of the viewport in pixels."
|
|
191
|
-
},
|
|
192
|
-
"height": {
|
|
193
|
-
"type": "integer",
|
|
194
|
-
"description": "Height of the viewport in pixels."
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
},
|
|
200
|
-
"firefox": {
|
|
201
|
-
"type": "object",
|
|
202
|
-
"description": "Browser configuration.",
|
|
203
|
-
"additionalProperties": false,
|
|
204
|
-
"properties": {
|
|
205
|
-
"executablePath": {
|
|
206
|
-
"type": "string",
|
|
207
|
-
"description": "Path to the browser executable. If not specified, defaults to the system default."
|
|
208
|
-
},
|
|
209
|
-
"driverPath": {
|
|
158
|
+
"browsers": {
|
|
159
|
+
"description": "Browsers to run tests on.",
|
|
160
|
+
"anyOf": [
|
|
161
|
+
{
|
|
210
162
|
"type": "string",
|
|
211
|
-
"description": "
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
"
|
|
219
|
-
"description": "Browser dimensions.",
|
|
220
|
-
"additionalProperties": false,
|
|
221
|
-
"properties": {
|
|
222
|
-
"width": {
|
|
223
|
-
"type": "integer",
|
|
224
|
-
"description": "Width of the browser window in pixels."
|
|
225
|
-
},
|
|
226
|
-
"height": {
|
|
227
|
-
"type": "integer",
|
|
228
|
-
"description": "Height of the browser window in pixels."
|
|
229
|
-
}
|
|
230
|
-
}
|
|
163
|
+
"description": "Name of the browser.",
|
|
164
|
+
"enum": [
|
|
165
|
+
"chrome",
|
|
166
|
+
"firefox",
|
|
167
|
+
"safari",
|
|
168
|
+
"webkit"
|
|
169
|
+
],
|
|
170
|
+
"$comment": "`safari` is just a shortcut for `webkit`. Included for visibility and to reduce questions."
|
|
231
171
|
},
|
|
232
|
-
"viewport": {
|
|
233
|
-
"type": "object",
|
|
234
|
-
"description": "Viewport dimensions.",
|
|
235
|
-
"additionalProperties": false,
|
|
236
|
-
"properties": {
|
|
237
|
-
"width": {
|
|
238
|
-
"type": "integer",
|
|
239
|
-
"description": "Width of the viewport in pixels."
|
|
240
|
-
},
|
|
241
|
-
"height": {
|
|
242
|
-
"type": "integer",
|
|
243
|
-
"description": "Height of the viewport in pixels."
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
},
|
|
249
|
-
"safari": {
|
|
250
|
-
"allOf": [
|
|
251
172
|
{
|
|
252
173
|
"type": "object",
|
|
253
174
|
"description": "Browser configuration.",
|
|
175
|
+
"required": [
|
|
176
|
+
"name"
|
|
177
|
+
],
|
|
254
178
|
"additionalProperties": false,
|
|
255
179
|
"properties": {
|
|
256
|
-
"
|
|
180
|
+
"name": {
|
|
257
181
|
"type": "string",
|
|
258
|
-
"description": "
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
182
|
+
"description": "Name of the browser.",
|
|
183
|
+
"enum": [
|
|
184
|
+
"chrome",
|
|
185
|
+
"firefox",
|
|
186
|
+
"safari",
|
|
187
|
+
"webkit"
|
|
188
|
+
],
|
|
189
|
+
"$comment": "`safari` is just a shortcut for `webkit`. Included for visibility and to reduce questions."
|
|
263
190
|
},
|
|
264
191
|
"headless": {
|
|
265
192
|
"type": "boolean",
|
|
266
|
-
"description": "If `true`, runs the browser in headless mode."
|
|
193
|
+
"description": "If `true`, runs the browser in headless mode.",
|
|
194
|
+
"default": true
|
|
267
195
|
},
|
|
268
|
-
"
|
|
196
|
+
"window": {
|
|
269
197
|
"type": "object",
|
|
270
198
|
"description": "Browser dimensions.",
|
|
271
199
|
"additionalProperties": false,
|
|
@@ -298,10 +226,76 @@
|
|
|
298
226
|
}
|
|
299
227
|
},
|
|
300
228
|
{
|
|
301
|
-
"type": "
|
|
302
|
-
"
|
|
303
|
-
"
|
|
304
|
-
|
|
229
|
+
"type": "array",
|
|
230
|
+
"items": {
|
|
231
|
+
"anyOf": [
|
|
232
|
+
{
|
|
233
|
+
"type": "string",
|
|
234
|
+
"description": "Name of the browser.",
|
|
235
|
+
"enum": [
|
|
236
|
+
"chrome",
|
|
237
|
+
"firefox",
|
|
238
|
+
"safari",
|
|
239
|
+
"webkit"
|
|
240
|
+
],
|
|
241
|
+
"$comment": "`safari` is just a shortcut for `webkit`. Included for visibility and to reduce questions."
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"type": "object",
|
|
245
|
+
"description": "Browser configuration.",
|
|
246
|
+
"required": [
|
|
247
|
+
"name"
|
|
248
|
+
],
|
|
249
|
+
"additionalProperties": false,
|
|
250
|
+
"properties": {
|
|
251
|
+
"name": {
|
|
252
|
+
"type": "string",
|
|
253
|
+
"description": "Name of the browser.",
|
|
254
|
+
"enum": [
|
|
255
|
+
"chrome",
|
|
256
|
+
"firefox",
|
|
257
|
+
"safari",
|
|
258
|
+
"webkit"
|
|
259
|
+
],
|
|
260
|
+
"$comment": "`safari` is just a shortcut for `webkit`. Included for visibility and to reduce questions."
|
|
261
|
+
},
|
|
262
|
+
"headless": {
|
|
263
|
+
"type": "boolean",
|
|
264
|
+
"description": "If `true`, runs the browser in headless mode.",
|
|
265
|
+
"default": true
|
|
266
|
+
},
|
|
267
|
+
"window": {
|
|
268
|
+
"type": "object",
|
|
269
|
+
"description": "Browser dimensions.",
|
|
270
|
+
"additionalProperties": false,
|
|
271
|
+
"properties": {
|
|
272
|
+
"width": {
|
|
273
|
+
"type": "integer",
|
|
274
|
+
"description": "Width of the browser window in pixels."
|
|
275
|
+
},
|
|
276
|
+
"height": {
|
|
277
|
+
"type": "integer",
|
|
278
|
+
"description": "Height of the browser window in pixels."
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
"viewport": {
|
|
283
|
+
"type": "object",
|
|
284
|
+
"description": "Viewport dimensions.",
|
|
285
|
+
"additionalProperties": false,
|
|
286
|
+
"properties": {
|
|
287
|
+
"width": {
|
|
288
|
+
"type": "integer",
|
|
289
|
+
"description": "Width of the viewport in pixels."
|
|
290
|
+
},
|
|
291
|
+
"height": {
|
|
292
|
+
"type": "integer",
|
|
293
|
+
"description": "Height of the viewport in pixels."
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
}
|
|
305
299
|
]
|
|
306
300
|
}
|
|
307
301
|
}
|
|
@@ -318,24 +312,42 @@
|
|
|
318
312
|
"windows"
|
|
319
313
|
]
|
|
320
314
|
},
|
|
315
|
+
"browserName": {
|
|
316
|
+
"type": "string",
|
|
317
|
+
"description": "Name of the browser.",
|
|
318
|
+
"enum": [
|
|
319
|
+
"chrome",
|
|
320
|
+
"firefox",
|
|
321
|
+
"safari",
|
|
322
|
+
"webkit"
|
|
323
|
+
],
|
|
324
|
+
"$comment": "`safari` is just a shortcut for `webkit`. Included for visibility and to reduce questions."
|
|
325
|
+
},
|
|
321
326
|
"browser": {
|
|
322
327
|
"type": "object",
|
|
323
328
|
"description": "Browser configuration.",
|
|
329
|
+
"required": [
|
|
330
|
+
"name"
|
|
331
|
+
],
|
|
324
332
|
"additionalProperties": false,
|
|
325
333
|
"properties": {
|
|
326
|
-
"
|
|
327
|
-
"type": "string",
|
|
328
|
-
"description": "Path to the browser executable. If not specified, defaults to the system default."
|
|
329
|
-
},
|
|
330
|
-
"driverPath": {
|
|
334
|
+
"name": {
|
|
331
335
|
"type": "string",
|
|
332
|
-
"description": "
|
|
336
|
+
"description": "Name of the browser.",
|
|
337
|
+
"enum": [
|
|
338
|
+
"chrome",
|
|
339
|
+
"firefox",
|
|
340
|
+
"safari",
|
|
341
|
+
"webkit"
|
|
342
|
+
],
|
|
343
|
+
"$comment": "`safari` is just a shortcut for `webkit`. Included for visibility and to reduce questions."
|
|
333
344
|
},
|
|
334
345
|
"headless": {
|
|
335
346
|
"type": "boolean",
|
|
336
|
-
"description": "If `true`, runs the browser in headless mode."
|
|
347
|
+
"description": "If `true`, runs the browser in headless mode.",
|
|
348
|
+
"default": true
|
|
337
349
|
},
|
|
338
|
-
"
|
|
350
|
+
"window": {
|
|
339
351
|
"type": "object",
|
|
340
352
|
"description": "Browser dimensions.",
|
|
341
353
|
"additionalProperties": false,
|
|
@@ -371,26 +383,45 @@
|
|
|
371
383
|
},
|
|
372
384
|
"examples": [
|
|
373
385
|
{
|
|
374
|
-
"
|
|
375
|
-
|
|
376
|
-
}
|
|
386
|
+
"platforms": "linux",
|
|
387
|
+
"browsers": "chrome"
|
|
377
388
|
},
|
|
378
389
|
{
|
|
379
|
-
"
|
|
380
|
-
"
|
|
390
|
+
"platforms": [
|
|
391
|
+
"windows",
|
|
392
|
+
"mac",
|
|
393
|
+
"linux"
|
|
394
|
+
],
|
|
395
|
+
"browsers": [
|
|
396
|
+
"chrome",
|
|
397
|
+
"firefox",
|
|
398
|
+
"webkit"
|
|
399
|
+
]
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"browsers": {
|
|
403
|
+
"name": "chrome",
|
|
381
404
|
"headless": true
|
|
382
|
-
},
|
|
383
|
-
"firefox": {
|
|
384
|
-
"executablePath": "/usr/bin/firefox",
|
|
385
|
-
"driverPath": "/usr/local/bin/geckodriver"
|
|
386
405
|
}
|
|
387
406
|
},
|
|
407
|
+
{
|
|
408
|
+
"browsers": [
|
|
409
|
+
{
|
|
410
|
+
"name": "chrome",
|
|
411
|
+
"headless": true
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
"name": "firefox"
|
|
415
|
+
}
|
|
416
|
+
]
|
|
417
|
+
},
|
|
388
418
|
{
|
|
389
419
|
"platforms": [
|
|
390
420
|
"mac",
|
|
391
421
|
"linux"
|
|
392
422
|
],
|
|
393
|
-
"
|
|
423
|
+
"browsers": {
|
|
424
|
+
"name": "chrome",
|
|
394
425
|
"headless": true
|
|
395
426
|
}
|
|
396
427
|
},
|
|
@@ -400,45 +431,47 @@
|
|
|
400
431
|
"mac",
|
|
401
432
|
"linux"
|
|
402
433
|
],
|
|
403
|
-
"
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
434
|
+
"browsers": [
|
|
435
|
+
{
|
|
436
|
+
"name": "chrome",
|
|
437
|
+
"headless": true,
|
|
438
|
+
"window": {
|
|
439
|
+
"width": 1920,
|
|
440
|
+
"height": 1080
|
|
441
|
+
},
|
|
442
|
+
"viewport": {
|
|
443
|
+
"width": 1600,
|
|
444
|
+
"height": 900
|
|
445
|
+
}
|
|
410
446
|
},
|
|
411
|
-
|
|
412
|
-
"
|
|
413
|
-
"
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
"
|
|
421
|
-
"
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
"executablePath": "/Applications/Safari.app/Contents/MacOS/Safari",
|
|
426
|
-
"headless": false,
|
|
427
|
-
"viewport": {
|
|
428
|
-
"width": 1440,
|
|
429
|
-
"height": 900
|
|
447
|
+
{
|
|
448
|
+
"name": "firefox",
|
|
449
|
+
"window": {
|
|
450
|
+
"width": 1366,
|
|
451
|
+
"height": 768
|
|
452
|
+
}
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
"name": "webkit",
|
|
456
|
+
"headless": false,
|
|
457
|
+
"viewport": {
|
|
458
|
+
"width": 1440,
|
|
459
|
+
"height": 900
|
|
460
|
+
}
|
|
430
461
|
}
|
|
431
|
-
|
|
462
|
+
]
|
|
432
463
|
},
|
|
433
464
|
{
|
|
434
465
|
"platforms": "mac",
|
|
435
|
-
"
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
"
|
|
439
|
-
|
|
466
|
+
"browsers": [
|
|
467
|
+
{
|
|
468
|
+
"name": "safari",
|
|
469
|
+
"window": {
|
|
470
|
+
"width": 1280,
|
|
471
|
+
"height": 800
|
|
472
|
+
}
|
|
440
473
|
}
|
|
441
|
-
|
|
474
|
+
]
|
|
442
475
|
}
|
|
443
476
|
]
|
|
444
477
|
}
|
|
@@ -455,13 +488,13 @@
|
|
|
455
488
|
],
|
|
456
489
|
"anyOf": [
|
|
457
490
|
{
|
|
458
|
-
"$comment": "Custom mode: Define your own file types with full control.",
|
|
459
491
|
"type": "array",
|
|
460
492
|
"minItems": 1,
|
|
461
493
|
"items": {
|
|
462
494
|
"anyOf": [
|
|
463
495
|
{
|
|
464
496
|
"$comment": "Simple mode: Reference predefined templates by name.",
|
|
497
|
+
"title": "Predefined",
|
|
465
498
|
"type": "string",
|
|
466
499
|
"enum": [
|
|
467
500
|
"markdown",
|
|
@@ -472,6 +505,7 @@
|
|
|
472
505
|
},
|
|
473
506
|
{
|
|
474
507
|
"$comment": "Custom mode: Extend predefined templates or write whole new ones.",
|
|
508
|
+
"title": "Custom",
|
|
475
509
|
"type": "object",
|
|
476
510
|
"required": [
|
|
477
511
|
"extensions"
|
|
@@ -1735,7 +1769,7 @@
|
|
|
1735
1769
|
"description": "OpenAPI description and configuration.",
|
|
1736
1770
|
"additionalProperties": false,
|
|
1737
1771
|
"properties": {
|
|
1738
|
-
"
|
|
1772
|
+
"name": {
|
|
1739
1773
|
"type": "string",
|
|
1740
1774
|
"description": "Name of the OpenAPI description, as defined in your configuration."
|
|
1741
1775
|
},
|
|
@@ -1813,7 +1847,7 @@
|
|
|
1813
1847
|
"descriptionPath": "https://petstore.swagger.io/v2/swagger.json"
|
|
1814
1848
|
},
|
|
1815
1849
|
{
|
|
1816
|
-
"
|
|
1850
|
+
"name": "Reqres",
|
|
1817
1851
|
"operationId": "getUserById"
|
|
1818
1852
|
},
|
|
1819
1853
|
{
|
|
@@ -1890,7 +1924,8 @@
|
|
|
1890
1924
|
]
|
|
1891
1925
|
},
|
|
1892
1926
|
"default": [
|
|
1893
|
-
200
|
|
1927
|
+
200,
|
|
1928
|
+
201
|
|
1894
1929
|
]
|
|
1895
1930
|
},
|
|
1896
1931
|
"method": {
|
|
@@ -1916,6 +1951,7 @@
|
|
|
1916
1951
|
},
|
|
1917
1952
|
"request": {
|
|
1918
1953
|
"type": "object",
|
|
1954
|
+
"additionalProperties": false,
|
|
1919
1955
|
"properties": {
|
|
1920
1956
|
"headers": {
|
|
1921
1957
|
"description": "Headers to include in the HTTP request, in key/value format.",
|
|
@@ -1924,14 +1960,14 @@
|
|
|
1924
1960
|
"properties": {},
|
|
1925
1961
|
"default": {}
|
|
1926
1962
|
},
|
|
1927
|
-
"
|
|
1963
|
+
"parameters": {
|
|
1928
1964
|
"description": "URL parameters to include in the HTTP request, in key/value format.",
|
|
1929
1965
|
"type": "object",
|
|
1930
1966
|
"additionalProperties": true,
|
|
1931
1967
|
"default": {},
|
|
1932
1968
|
"properties": {}
|
|
1933
1969
|
},
|
|
1934
|
-
"
|
|
1970
|
+
"body": {
|
|
1935
1971
|
"description": "JSON object to include as the body of the HTTP request.",
|
|
1936
1972
|
"anyOf": [
|
|
1937
1973
|
{
|
|
@@ -1939,6 +1975,10 @@
|
|
|
1939
1975
|
"additionalProperties": true,
|
|
1940
1976
|
"properties": {}
|
|
1941
1977
|
},
|
|
1978
|
+
{
|
|
1979
|
+
"type": "array",
|
|
1980
|
+
"items": {}
|
|
1981
|
+
},
|
|
1942
1982
|
{
|
|
1943
1983
|
"type": "string"
|
|
1944
1984
|
}
|
|
@@ -1949,6 +1989,7 @@
|
|
|
1949
1989
|
},
|
|
1950
1990
|
"response": {
|
|
1951
1991
|
"type": "object",
|
|
1992
|
+
"additionalProperties": false,
|
|
1952
1993
|
"properties": {
|
|
1953
1994
|
"headers": {
|
|
1954
1995
|
"description": "Headers expected in the response, in key/value format. If one or more `responseHeaders` entries aren't present in the response, the step fails.",
|
|
@@ -1957,7 +1998,7 @@
|
|
|
1957
1998
|
"properties": {},
|
|
1958
1999
|
"default": {}
|
|
1959
2000
|
},
|
|
1960
|
-
"
|
|
2001
|
+
"body": {
|
|
1961
2002
|
"description": "JSON object expected in the response. If one or more key/value pairs aren't present in the response, the step fails.",
|
|
1962
2003
|
"anyOf": [
|
|
1963
2004
|
{
|
|
@@ -1965,6 +2006,10 @@
|
|
|
1965
2006
|
"additionalProperties": true,
|
|
1966
2007
|
"properties": {}
|
|
1967
2008
|
},
|
|
2009
|
+
{
|
|
2010
|
+
"type": "array",
|
|
2011
|
+
"items": {}
|
|
2012
|
+
},
|
|
1968
2013
|
{
|
|
1969
2014
|
"type": "string"
|
|
1970
2015
|
}
|
|
@@ -2001,7 +2046,7 @@
|
|
|
2001
2046
|
"false",
|
|
2002
2047
|
"aboveVariation"
|
|
2003
2048
|
],
|
|
2004
|
-
"default": "
|
|
2049
|
+
"default": "aboveVariation"
|
|
2005
2050
|
}
|
|
2006
2051
|
}
|
|
2007
2052
|
}
|
|
@@ -2066,7 +2111,7 @@
|
|
|
2066
2111
|
"description": "OpenAPI description and configuration.",
|
|
2067
2112
|
"additionalProperties": false,
|
|
2068
2113
|
"properties": {
|
|
2069
|
-
"
|
|
2114
|
+
"name": {
|
|
2070
2115
|
"type": "string",
|
|
2071
2116
|
"description": "Name of the OpenAPI description, as defined in your configuration."
|
|
2072
2117
|
},
|
|
@@ -2144,7 +2189,7 @@
|
|
|
2144
2189
|
"descriptionPath": "https://petstore.swagger.io/v2/swagger.json"
|
|
2145
2190
|
},
|
|
2146
2191
|
{
|
|
2147
|
-
"
|
|
2192
|
+
"name": "Reqres",
|
|
2148
2193
|
"operationId": "getUserById"
|
|
2149
2194
|
},
|
|
2150
2195
|
{
|
|
@@ -2221,7 +2266,8 @@
|
|
|
2221
2266
|
]
|
|
2222
2267
|
},
|
|
2223
2268
|
"default": [
|
|
2224
|
-
200
|
|
2269
|
+
200,
|
|
2270
|
+
201
|
|
2225
2271
|
]
|
|
2226
2272
|
},
|
|
2227
2273
|
"method": {
|
|
@@ -2247,6 +2293,7 @@
|
|
|
2247
2293
|
},
|
|
2248
2294
|
"request": {
|
|
2249
2295
|
"type": "object",
|
|
2296
|
+
"additionalProperties": false,
|
|
2250
2297
|
"properties": {
|
|
2251
2298
|
"headers": {
|
|
2252
2299
|
"description": "Headers to include in the HTTP request, in key/value format.",
|
|
@@ -2255,14 +2302,14 @@
|
|
|
2255
2302
|
"properties": {},
|
|
2256
2303
|
"default": {}
|
|
2257
2304
|
},
|
|
2258
|
-
"
|
|
2305
|
+
"parameters": {
|
|
2259
2306
|
"description": "URL parameters to include in the HTTP request, in key/value format.",
|
|
2260
2307
|
"type": "object",
|
|
2261
2308
|
"additionalProperties": true,
|
|
2262
2309
|
"default": {},
|
|
2263
2310
|
"properties": {}
|
|
2264
2311
|
},
|
|
2265
|
-
"
|
|
2312
|
+
"body": {
|
|
2266
2313
|
"description": "JSON object to include as the body of the HTTP request.",
|
|
2267
2314
|
"anyOf": [
|
|
2268
2315
|
{
|
|
@@ -2270,6 +2317,10 @@
|
|
|
2270
2317
|
"additionalProperties": true,
|
|
2271
2318
|
"properties": {}
|
|
2272
2319
|
},
|
|
2320
|
+
{
|
|
2321
|
+
"type": "array",
|
|
2322
|
+
"items": {}
|
|
2323
|
+
},
|
|
2273
2324
|
{
|
|
2274
2325
|
"type": "string"
|
|
2275
2326
|
}
|
|
@@ -2280,6 +2331,7 @@
|
|
|
2280
2331
|
},
|
|
2281
2332
|
"response": {
|
|
2282
2333
|
"type": "object",
|
|
2334
|
+
"additionalProperties": false,
|
|
2283
2335
|
"properties": {
|
|
2284
2336
|
"headers": {
|
|
2285
2337
|
"description": "Headers expected in the response, in key/value format. If one or more `responseHeaders` entries aren't present in the response, the step fails.",
|
|
@@ -2288,7 +2340,7 @@
|
|
|
2288
2340
|
"properties": {},
|
|
2289
2341
|
"default": {}
|
|
2290
2342
|
},
|
|
2291
|
-
"
|
|
2343
|
+
"body": {
|
|
2292
2344
|
"description": "JSON object expected in the response. If one or more key/value pairs aren't present in the response, the step fails.",
|
|
2293
2345
|
"anyOf": [
|
|
2294
2346
|
{
|
|
@@ -2296,6 +2348,10 @@
|
|
|
2296
2348
|
"additionalProperties": true,
|
|
2297
2349
|
"properties": {}
|
|
2298
2350
|
},
|
|
2351
|
+
{
|
|
2352
|
+
"type": "array",
|
|
2353
|
+
"items": {}
|
|
2354
|
+
},
|
|
2299
2355
|
{
|
|
2300
2356
|
"type": "string"
|
|
2301
2357
|
}
|
|
@@ -2332,7 +2388,7 @@
|
|
|
2332
2388
|
"false",
|
|
2333
2389
|
"aboveVariation"
|
|
2334
2390
|
],
|
|
2335
|
-
"default": "
|
|
2391
|
+
"default": "aboveVariation"
|
|
2336
2392
|
}
|
|
2337
2393
|
}
|
|
2338
2394
|
}
|
|
@@ -2384,7 +2440,7 @@
|
|
|
2384
2440
|
"headers": {
|
|
2385
2441
|
"header": "value"
|
|
2386
2442
|
},
|
|
2387
|
-
"
|
|
2443
|
+
"parameters": {
|
|
2388
2444
|
"param": "value"
|
|
2389
2445
|
}
|
|
2390
2446
|
},
|
|
@@ -2429,11 +2485,11 @@
|
|
|
2429
2485
|
},
|
|
2430
2486
|
{
|
|
2431
2487
|
"openApi": {
|
|
2432
|
-
"
|
|
2488
|
+
"name": "Reqres",
|
|
2433
2489
|
"operationId": "getUserById"
|
|
2434
2490
|
},
|
|
2435
2491
|
"request": {
|
|
2436
|
-
"
|
|
2492
|
+
"parameters": {
|
|
2437
2493
|
"id": 123
|
|
2438
2494
|
}
|
|
2439
2495
|
}
|
|
@@ -2444,7 +2500,7 @@
|
|
|
2444
2500
|
"operationId": "getUserById"
|
|
2445
2501
|
},
|
|
2446
2502
|
"request": {
|
|
2447
|
-
"
|
|
2503
|
+
"parameters": {
|
|
2448
2504
|
"id": 123
|
|
2449
2505
|
}
|
|
2450
2506
|
}
|
|
@@ -4226,7 +4282,7 @@
|
|
|
4226
4282
|
"headers": {
|
|
4227
4283
|
"header": "value"
|
|
4228
4284
|
},
|
|
4229
|
-
"
|
|
4285
|
+
"parameters": {
|
|
4230
4286
|
"param": "value"
|
|
4231
4287
|
}
|
|
4232
4288
|
},
|
|
@@ -4277,11 +4333,11 @@
|
|
|
4277
4333
|
{
|
|
4278
4334
|
"httpRequest": {
|
|
4279
4335
|
"openApi": {
|
|
4280
|
-
"
|
|
4336
|
+
"name": "Reqres",
|
|
4281
4337
|
"operationId": "getUserById"
|
|
4282
4338
|
},
|
|
4283
4339
|
"request": {
|
|
4284
|
-
"
|
|
4340
|
+
"parameters": {
|
|
4285
4341
|
"id": 123
|
|
4286
4342
|
}
|
|
4287
4343
|
}
|
|
@@ -4294,7 +4350,7 @@
|
|
|
4294
4350
|
"operationId": "getUserById"
|
|
4295
4351
|
},
|
|
4296
4352
|
"request": {
|
|
4297
|
-
"
|
|
4353
|
+
"parameters": {
|
|
4298
4354
|
"id": 123
|
|
4299
4355
|
}
|
|
4300
4356
|
}
|
|
@@ -4345,128 +4401,47 @@
|
|
|
4345
4401
|
}
|
|
4346
4402
|
},
|
|
4347
4403
|
{
|
|
4404
|
+
"title": "Executable",
|
|
4348
4405
|
"$comment": "Executable mode: Convert executable inputs directly into tests.",
|
|
4349
|
-
"
|
|
4350
|
-
|
|
4351
|
-
"
|
|
4352
|
-
|
|
4353
|
-
|
|
4354
|
-
|
|
4355
|
-
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
|
|
4360
|
-
"items": {
|
|
4406
|
+
"type": "object",
|
|
4407
|
+
"required": [
|
|
4408
|
+
"extensions"
|
|
4409
|
+
],
|
|
4410
|
+
"properties": {
|
|
4411
|
+
"extensions": {
|
|
4412
|
+
"description": "File extensions to use with type.",
|
|
4413
|
+
"anyOf": [
|
|
4414
|
+
{
|
|
4415
|
+
"anyOf": [
|
|
4416
|
+
{
|
|
4361
4417
|
"type": "string"
|
|
4362
|
-
}
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
"runShell": {
|
|
4369
|
-
"description": "`runShell` step to perform for this file type. Use $1 as a placeholder for the file path.",
|
|
4370
|
-
"anyOf": [
|
|
4371
|
-
{
|
|
4372
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4373
|
-
"title": "runShell",
|
|
4374
|
-
"description": "Perform a native shell command.",
|
|
4375
|
-
"anyOf": [
|
|
4376
|
-
{
|
|
4377
|
-
"type": "string",
|
|
4378
|
-
"transform": [
|
|
4379
|
-
"trim"
|
|
4380
|
-
]
|
|
4381
|
-
},
|
|
4382
|
-
{
|
|
4383
|
-
"type": "object",
|
|
4384
|
-
"required": [
|
|
4385
|
-
"command"
|
|
4386
|
-
],
|
|
4387
|
-
"additionalProperties": false,
|
|
4388
|
-
"properties": {
|
|
4389
|
-
"command": {
|
|
4390
|
-
"type": "string",
|
|
4391
|
-
"description": "Command to perform in the machine's default shell."
|
|
4392
|
-
},
|
|
4393
|
-
"args": {
|
|
4394
|
-
"type": "array",
|
|
4395
|
-
"description": "Arguments for the command.",
|
|
4396
|
-
"items": {
|
|
4397
|
-
"oneOf": [
|
|
4398
|
-
{
|
|
4399
|
-
"type": "string"
|
|
4400
|
-
}
|
|
4401
|
-
]
|
|
4402
|
-
},
|
|
4403
|
-
"default": []
|
|
4404
|
-
},
|
|
4405
|
-
"workingDirectory": {
|
|
4406
|
-
"type": "string",
|
|
4407
|
-
"description": "Working directory for the command.",
|
|
4408
|
-
"default": "."
|
|
4409
|
-
},
|
|
4410
|
-
"exitCodes": {
|
|
4411
|
-
"type": "array",
|
|
4412
|
-
"description": "Expected exit codes of the command. If the command's actual exit code isn't in this list, the step fails.",
|
|
4413
|
-
"items": {
|
|
4414
|
-
"oneOf": [
|
|
4415
|
-
{
|
|
4416
|
-
"type": "integer"
|
|
4417
|
-
}
|
|
4418
|
-
]
|
|
4419
|
-
},
|
|
4420
|
-
"default": [
|
|
4421
|
-
0
|
|
4422
|
-
]
|
|
4423
|
-
},
|
|
4424
|
-
"stdio": {
|
|
4425
|
-
"type": "string",
|
|
4426
|
-
"description": "Content expected in the command's stdout or stderr. If the expected content can't be found in the command's stdout or stderr, the step fails. Supports strings and regular expressions. To use a regular expression, the string must start and end with a forward slash, like in `/^hello-world.*/`."
|
|
4427
|
-
},
|
|
4428
|
-
"path": {
|
|
4429
|
-
"type": "string",
|
|
4430
|
-
"description": "File path to save the command's output, relative to `directory`."
|
|
4431
|
-
},
|
|
4432
|
-
"directory": {
|
|
4433
|
-
"type": "string",
|
|
4434
|
-
"description": "Directory to save the command's output. If the directory doesn't exist, creates the directory. If not specified, the directory is your media directory."
|
|
4435
|
-
},
|
|
4436
|
-
"maxVariation": {
|
|
4437
|
-
"type": "number",
|
|
4438
|
-
"description": "Allowed variation in percentage of text different between the current output and previously saved output. If the difference between the current output and the previous output is greater than `maxVariation`, the step fails. If output doesn't exist at `path`, this value is ignored.",
|
|
4439
|
-
"default": 0,
|
|
4440
|
-
"minimum": 0,
|
|
4441
|
-
"maximum": 1
|
|
4442
|
-
},
|
|
4443
|
-
"overwrite": {
|
|
4444
|
-
"type": "string",
|
|
4445
|
-
"description": "If `true`, overwrites the existing output at `path` if it exists.\nIf `aboveVariation`, overwrites the existing output at `path` if the difference between the new output and the existing output is greater than `maxVariation`.",
|
|
4446
|
-
"enum": [
|
|
4447
|
-
"true",
|
|
4448
|
-
"false",
|
|
4449
|
-
"aboveVariation"
|
|
4450
|
-
],
|
|
4451
|
-
"default": "aboveVariation"
|
|
4452
|
-
},
|
|
4453
|
-
"timeout": {
|
|
4454
|
-
"type": "integer",
|
|
4455
|
-
"description": "Max time in milliseconds the command is allowed to run. If the command runs longer than this, the step fails.",
|
|
4456
|
-
"default": 60000
|
|
4418
|
+
},
|
|
4419
|
+
{
|
|
4420
|
+
"type": "array",
|
|
4421
|
+
"minItems": 1,
|
|
4422
|
+
"items": {
|
|
4423
|
+
"type": "string"
|
|
4457
4424
|
}
|
|
4458
4425
|
}
|
|
4459
|
-
|
|
4460
|
-
|
|
4461
|
-
|
|
4462
|
-
|
|
4463
|
-
|
|
4426
|
+
]
|
|
4427
|
+
}
|
|
4428
|
+
]
|
|
4429
|
+
},
|
|
4430
|
+
"runShell": {
|
|
4431
|
+
"description": "`runShell` step to perform for this file type. Use $1 as a placeholder for the file path.",
|
|
4432
|
+
"anyOf": [
|
|
4433
|
+
{
|
|
4434
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4435
|
+
"title": "runShell",
|
|
4436
|
+
"description": "Perform a native shell command.",
|
|
4437
|
+
"anyOf": [
|
|
4438
|
+
{
|
|
4464
4439
|
"type": "string",
|
|
4465
4440
|
"transform": [
|
|
4466
4441
|
"trim"
|
|
4467
4442
|
]
|
|
4468
4443
|
},
|
|
4469
|
-
|
|
4444
|
+
{
|
|
4470
4445
|
"type": "object",
|
|
4471
4446
|
"required": [
|
|
4472
4447
|
"command"
|
|
@@ -4544,61 +4519,149 @@
|
|
|
4544
4519
|
}
|
|
4545
4520
|
}
|
|
4546
4521
|
}
|
|
4547
|
-
|
|
4548
|
-
|
|
4549
|
-
|
|
4550
|
-
|
|
4551
|
-
|
|
4552
|
-
|
|
4553
|
-
|
|
4554
|
-
|
|
4555
|
-
|
|
4556
|
-
|
|
4557
|
-
|
|
4558
|
-
|
|
4559
|
-
|
|
4560
|
-
|
|
4561
|
-
|
|
4562
|
-
|
|
4563
|
-
|
|
4564
|
-
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
|
|
4568
|
-
|
|
4569
|
-
|
|
4570
|
-
|
|
4571
|
-
|
|
4572
|
-
|
|
4573
|
-
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
|
|
4577
|
-
|
|
4578
|
-
|
|
4579
|
-
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
4522
|
+
],
|
|
4523
|
+
"components": {
|
|
4524
|
+
"schemas": {
|
|
4525
|
+
"string": {
|
|
4526
|
+
"type": "string",
|
|
4527
|
+
"transform": [
|
|
4528
|
+
"trim"
|
|
4529
|
+
]
|
|
4530
|
+
},
|
|
4531
|
+
"object": {
|
|
4532
|
+
"type": "object",
|
|
4533
|
+
"required": [
|
|
4534
|
+
"command"
|
|
4535
|
+
],
|
|
4536
|
+
"additionalProperties": false,
|
|
4537
|
+
"properties": {
|
|
4538
|
+
"command": {
|
|
4539
|
+
"type": "string",
|
|
4540
|
+
"description": "Command to perform in the machine's default shell."
|
|
4541
|
+
},
|
|
4542
|
+
"args": {
|
|
4543
|
+
"type": "array",
|
|
4544
|
+
"description": "Arguments for the command.",
|
|
4545
|
+
"items": {
|
|
4546
|
+
"oneOf": [
|
|
4547
|
+
{
|
|
4548
|
+
"type": "string"
|
|
4549
|
+
}
|
|
4550
|
+
]
|
|
4551
|
+
},
|
|
4552
|
+
"default": []
|
|
4553
|
+
},
|
|
4554
|
+
"workingDirectory": {
|
|
4555
|
+
"type": "string",
|
|
4556
|
+
"description": "Working directory for the command.",
|
|
4557
|
+
"default": "."
|
|
4558
|
+
},
|
|
4559
|
+
"exitCodes": {
|
|
4560
|
+
"type": "array",
|
|
4561
|
+
"description": "Expected exit codes of the command. If the command's actual exit code isn't in this list, the step fails.",
|
|
4562
|
+
"items": {
|
|
4563
|
+
"oneOf": [
|
|
4564
|
+
{
|
|
4565
|
+
"type": "integer"
|
|
4566
|
+
}
|
|
4567
|
+
]
|
|
4568
|
+
},
|
|
4569
|
+
"default": [
|
|
4570
|
+
0
|
|
4571
|
+
]
|
|
4572
|
+
},
|
|
4573
|
+
"stdio": {
|
|
4574
|
+
"type": "string",
|
|
4575
|
+
"description": "Content expected in the command's stdout or stderr. If the expected content can't be found in the command's stdout or stderr, the step fails. Supports strings and regular expressions. To use a regular expression, the string must start and end with a forward slash, like in `/^hello-world.*/`."
|
|
4576
|
+
},
|
|
4577
|
+
"path": {
|
|
4578
|
+
"type": "string",
|
|
4579
|
+
"description": "File path to save the command's output, relative to `directory`."
|
|
4580
|
+
},
|
|
4581
|
+
"directory": {
|
|
4582
|
+
"type": "string",
|
|
4583
|
+
"description": "Directory to save the command's output. If the directory doesn't exist, creates the directory. If not specified, the directory is your media directory."
|
|
4584
|
+
},
|
|
4585
|
+
"maxVariation": {
|
|
4586
|
+
"type": "number",
|
|
4587
|
+
"description": "Allowed variation in percentage of text different between the current output and previously saved output. If the difference between the current output and the previous output is greater than `maxVariation`, the step fails. If output doesn't exist at `path`, this value is ignored.",
|
|
4588
|
+
"default": 0,
|
|
4589
|
+
"minimum": 0,
|
|
4590
|
+
"maximum": 1
|
|
4591
|
+
},
|
|
4592
|
+
"overwrite": {
|
|
4593
|
+
"type": "string",
|
|
4594
|
+
"description": "If `true`, overwrites the existing output at `path` if it exists.\nIf `aboveVariation`, overwrites the existing output at `path` if the difference between the new output and the existing output is greater than `maxVariation`.",
|
|
4595
|
+
"enum": [
|
|
4596
|
+
"true",
|
|
4597
|
+
"false",
|
|
4598
|
+
"aboveVariation"
|
|
4599
|
+
],
|
|
4600
|
+
"default": "aboveVariation"
|
|
4601
|
+
},
|
|
4602
|
+
"timeout": {
|
|
4603
|
+
"type": "integer",
|
|
4604
|
+
"description": "Max time in milliseconds the command is allowed to run. If the command runs longer than this, the step fails.",
|
|
4605
|
+
"default": 60000
|
|
4606
|
+
}
|
|
4607
|
+
}
|
|
4608
|
+
}
|
|
4609
|
+
}
|
|
4586
4610
|
},
|
|
4587
|
-
|
|
4588
|
-
"
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
|
|
4592
|
-
|
|
4593
|
-
|
|
4594
|
-
|
|
4595
|
-
|
|
4596
|
-
|
|
4597
|
-
|
|
4598
|
-
|
|
4599
|
-
|
|
4600
|
-
|
|
4601
|
-
|
|
4611
|
+
"examples": [
|
|
4612
|
+
"docker run hello-world",
|
|
4613
|
+
{
|
|
4614
|
+
"command": "echo",
|
|
4615
|
+
"args": [
|
|
4616
|
+
"$USER"
|
|
4617
|
+
]
|
|
4618
|
+
},
|
|
4619
|
+
{
|
|
4620
|
+
"command": "echo",
|
|
4621
|
+
"args": [
|
|
4622
|
+
"hello-world"
|
|
4623
|
+
]
|
|
4624
|
+
},
|
|
4625
|
+
{
|
|
4626
|
+
"command": "docker run hello-world",
|
|
4627
|
+
"timeout": 20000,
|
|
4628
|
+
"exitCodes": [
|
|
4629
|
+
0
|
|
4630
|
+
],
|
|
4631
|
+
"stdio": "Hello from Docker!"
|
|
4632
|
+
},
|
|
4633
|
+
{
|
|
4634
|
+
"command": "false",
|
|
4635
|
+
"exitCodes": [
|
|
4636
|
+
1
|
|
4637
|
+
]
|
|
4638
|
+
},
|
|
4639
|
+
{
|
|
4640
|
+
"command": "echo",
|
|
4641
|
+
"args": [
|
|
4642
|
+
"setup"
|
|
4643
|
+
],
|
|
4644
|
+
"exitCodes": [
|
|
4645
|
+
0
|
|
4646
|
+
],
|
|
4647
|
+
"stdio": "/.*?/"
|
|
4648
|
+
},
|
|
4649
|
+
{
|
|
4650
|
+
"command": "docker run hello-world",
|
|
4651
|
+
"workingDirectory": ".",
|
|
4652
|
+
"exitCodes": [
|
|
4653
|
+
0
|
|
4654
|
+
],
|
|
4655
|
+
"stdio": "Hello from Docker!",
|
|
4656
|
+
"path": "docker-output.txt",
|
|
4657
|
+
"directory": "output",
|
|
4658
|
+
"maxVariation": 0.1,
|
|
4659
|
+
"overwrite": "aboveVariation"
|
|
4660
|
+
}
|
|
4661
|
+
]
|
|
4662
|
+
}
|
|
4663
|
+
]
|
|
4664
|
+
}
|
|
4602
4665
|
}
|
|
4603
4666
|
}
|
|
4604
4667
|
]
|
|
@@ -4623,7 +4686,7 @@
|
|
|
4623
4686
|
"description": "OpenAPI description and configuration.",
|
|
4624
4687
|
"additionalProperties": false,
|
|
4625
4688
|
"properties": {
|
|
4626
|
-
"
|
|
4689
|
+
"name": {
|
|
4627
4690
|
"type": "string",
|
|
4628
4691
|
"description": "Name of the OpenAPI description, as defined in your configuration."
|
|
4629
4692
|
},
|
|
@@ -4701,7 +4764,7 @@
|
|
|
4701
4764
|
"descriptionPath": "https://petstore.swagger.io/v2/swagger.json"
|
|
4702
4765
|
},
|
|
4703
4766
|
{
|
|
4704
|
-
"
|
|
4767
|
+
"name": "Reqres",
|
|
4705
4768
|
"operationId": "getUserById"
|
|
4706
4769
|
},
|
|
4707
4770
|
{
|
|
@@ -4765,7 +4828,7 @@
|
|
|
4765
4828
|
]
|
|
4766
4829
|
},
|
|
4767
4830
|
"required": [
|
|
4768
|
-
"
|
|
4831
|
+
"name",
|
|
4769
4832
|
"descriptionPath"
|
|
4770
4833
|
]
|
|
4771
4834
|
}
|
|
@@ -5919,7 +5982,7 @@
|
|
|
5919
5982
|
"description": "OpenAPI description and configuration.",
|
|
5920
5983
|
"additionalProperties": false,
|
|
5921
5984
|
"properties": {
|
|
5922
|
-
"
|
|
5985
|
+
"name": {
|
|
5923
5986
|
"type": "string",
|
|
5924
5987
|
"description": "Name of the OpenAPI description, as defined in your configuration."
|
|
5925
5988
|
},
|
|
@@ -5997,7 +6060,7 @@
|
|
|
5997
6060
|
"descriptionPath": "https://petstore.swagger.io/v2/swagger.json"
|
|
5998
6061
|
},
|
|
5999
6062
|
{
|
|
6000
|
-
"
|
|
6063
|
+
"name": "Reqres",
|
|
6001
6064
|
"operationId": "getUserById"
|
|
6002
6065
|
},
|
|
6003
6066
|
{
|
|
@@ -6074,7 +6137,8 @@
|
|
|
6074
6137
|
]
|
|
6075
6138
|
},
|
|
6076
6139
|
"default": [
|
|
6077
|
-
200
|
|
6140
|
+
200,
|
|
6141
|
+
201
|
|
6078
6142
|
]
|
|
6079
6143
|
},
|
|
6080
6144
|
"method": {
|
|
@@ -6100,6 +6164,7 @@
|
|
|
6100
6164
|
},
|
|
6101
6165
|
"request": {
|
|
6102
6166
|
"type": "object",
|
|
6167
|
+
"additionalProperties": false,
|
|
6103
6168
|
"properties": {
|
|
6104
6169
|
"headers": {
|
|
6105
6170
|
"description": "Headers to include in the HTTP request, in key/value format.",
|
|
@@ -6108,14 +6173,14 @@
|
|
|
6108
6173
|
"properties": {},
|
|
6109
6174
|
"default": {}
|
|
6110
6175
|
},
|
|
6111
|
-
"
|
|
6176
|
+
"parameters": {
|
|
6112
6177
|
"description": "URL parameters to include in the HTTP request, in key/value format.",
|
|
6113
6178
|
"type": "object",
|
|
6114
6179
|
"additionalProperties": true,
|
|
6115
6180
|
"default": {},
|
|
6116
6181
|
"properties": {}
|
|
6117
6182
|
},
|
|
6118
|
-
"
|
|
6183
|
+
"body": {
|
|
6119
6184
|
"description": "JSON object to include as the body of the HTTP request.",
|
|
6120
6185
|
"anyOf": [
|
|
6121
6186
|
{
|
|
@@ -6123,6 +6188,10 @@
|
|
|
6123
6188
|
"additionalProperties": true,
|
|
6124
6189
|
"properties": {}
|
|
6125
6190
|
},
|
|
6191
|
+
{
|
|
6192
|
+
"type": "array",
|
|
6193
|
+
"items": {}
|
|
6194
|
+
},
|
|
6126
6195
|
{
|
|
6127
6196
|
"type": "string"
|
|
6128
6197
|
}
|
|
@@ -6133,6 +6202,7 @@
|
|
|
6133
6202
|
},
|
|
6134
6203
|
"response": {
|
|
6135
6204
|
"type": "object",
|
|
6205
|
+
"additionalProperties": false,
|
|
6136
6206
|
"properties": {
|
|
6137
6207
|
"headers": {
|
|
6138
6208
|
"description": "Headers expected in the response, in key/value format. If one or more `responseHeaders` entries aren't present in the response, the step fails.",
|
|
@@ -6141,7 +6211,7 @@
|
|
|
6141
6211
|
"properties": {},
|
|
6142
6212
|
"default": {}
|
|
6143
6213
|
},
|
|
6144
|
-
"
|
|
6214
|
+
"body": {
|
|
6145
6215
|
"description": "JSON object expected in the response. If one or more key/value pairs aren't present in the response, the step fails.",
|
|
6146
6216
|
"anyOf": [
|
|
6147
6217
|
{
|
|
@@ -6149,6 +6219,10 @@
|
|
|
6149
6219
|
"additionalProperties": true,
|
|
6150
6220
|
"properties": {}
|
|
6151
6221
|
},
|
|
6222
|
+
{
|
|
6223
|
+
"type": "array",
|
|
6224
|
+
"items": {}
|
|
6225
|
+
},
|
|
6152
6226
|
{
|
|
6153
6227
|
"type": "string"
|
|
6154
6228
|
}
|
|
@@ -6185,7 +6259,7 @@
|
|
|
6185
6259
|
"false",
|
|
6186
6260
|
"aboveVariation"
|
|
6187
6261
|
],
|
|
6188
|
-
"default": "
|
|
6262
|
+
"default": "aboveVariation"
|
|
6189
6263
|
}
|
|
6190
6264
|
}
|
|
6191
6265
|
}
|
|
@@ -6250,7 +6324,7 @@
|
|
|
6250
6324
|
"description": "OpenAPI description and configuration.",
|
|
6251
6325
|
"additionalProperties": false,
|
|
6252
6326
|
"properties": {
|
|
6253
|
-
"
|
|
6327
|
+
"name": {
|
|
6254
6328
|
"type": "string",
|
|
6255
6329
|
"description": "Name of the OpenAPI description, as defined in your configuration."
|
|
6256
6330
|
},
|
|
@@ -6328,7 +6402,7 @@
|
|
|
6328
6402
|
"descriptionPath": "https://petstore.swagger.io/v2/swagger.json"
|
|
6329
6403
|
},
|
|
6330
6404
|
{
|
|
6331
|
-
"
|
|
6405
|
+
"name": "Reqres",
|
|
6332
6406
|
"operationId": "getUserById"
|
|
6333
6407
|
},
|
|
6334
6408
|
{
|
|
@@ -6405,7 +6479,8 @@
|
|
|
6405
6479
|
]
|
|
6406
6480
|
},
|
|
6407
6481
|
"default": [
|
|
6408
|
-
200
|
|
6482
|
+
200,
|
|
6483
|
+
201
|
|
6409
6484
|
]
|
|
6410
6485
|
},
|
|
6411
6486
|
"method": {
|
|
@@ -6431,6 +6506,7 @@
|
|
|
6431
6506
|
},
|
|
6432
6507
|
"request": {
|
|
6433
6508
|
"type": "object",
|
|
6509
|
+
"additionalProperties": false,
|
|
6434
6510
|
"properties": {
|
|
6435
6511
|
"headers": {
|
|
6436
6512
|
"description": "Headers to include in the HTTP request, in key/value format.",
|
|
@@ -6439,14 +6515,14 @@
|
|
|
6439
6515
|
"properties": {},
|
|
6440
6516
|
"default": {}
|
|
6441
6517
|
},
|
|
6442
|
-
"
|
|
6518
|
+
"parameters": {
|
|
6443
6519
|
"description": "URL parameters to include in the HTTP request, in key/value format.",
|
|
6444
6520
|
"type": "object",
|
|
6445
6521
|
"additionalProperties": true,
|
|
6446
6522
|
"default": {},
|
|
6447
6523
|
"properties": {}
|
|
6448
6524
|
},
|
|
6449
|
-
"
|
|
6525
|
+
"body": {
|
|
6450
6526
|
"description": "JSON object to include as the body of the HTTP request.",
|
|
6451
6527
|
"anyOf": [
|
|
6452
6528
|
{
|
|
@@ -6454,6 +6530,10 @@
|
|
|
6454
6530
|
"additionalProperties": true,
|
|
6455
6531
|
"properties": {}
|
|
6456
6532
|
},
|
|
6533
|
+
{
|
|
6534
|
+
"type": "array",
|
|
6535
|
+
"items": {}
|
|
6536
|
+
},
|
|
6457
6537
|
{
|
|
6458
6538
|
"type": "string"
|
|
6459
6539
|
}
|
|
@@ -6464,6 +6544,7 @@
|
|
|
6464
6544
|
},
|
|
6465
6545
|
"response": {
|
|
6466
6546
|
"type": "object",
|
|
6547
|
+
"additionalProperties": false,
|
|
6467
6548
|
"properties": {
|
|
6468
6549
|
"headers": {
|
|
6469
6550
|
"description": "Headers expected in the response, in key/value format. If one or more `responseHeaders` entries aren't present in the response, the step fails.",
|
|
@@ -6472,7 +6553,7 @@
|
|
|
6472
6553
|
"properties": {},
|
|
6473
6554
|
"default": {}
|
|
6474
6555
|
},
|
|
6475
|
-
"
|
|
6556
|
+
"body": {
|
|
6476
6557
|
"description": "JSON object expected in the response. If one or more key/value pairs aren't present in the response, the step fails.",
|
|
6477
6558
|
"anyOf": [
|
|
6478
6559
|
{
|
|
@@ -6480,6 +6561,10 @@
|
|
|
6480
6561
|
"additionalProperties": true,
|
|
6481
6562
|
"properties": {}
|
|
6482
6563
|
},
|
|
6564
|
+
{
|
|
6565
|
+
"type": "array",
|
|
6566
|
+
"items": {}
|
|
6567
|
+
},
|
|
6483
6568
|
{
|
|
6484
6569
|
"type": "string"
|
|
6485
6570
|
}
|
|
@@ -6516,7 +6601,7 @@
|
|
|
6516
6601
|
"false",
|
|
6517
6602
|
"aboveVariation"
|
|
6518
6603
|
],
|
|
6519
|
-
"default": "
|
|
6604
|
+
"default": "aboveVariation"
|
|
6520
6605
|
}
|
|
6521
6606
|
}
|
|
6522
6607
|
}
|
|
@@ -6568,7 +6653,7 @@
|
|
|
6568
6653
|
"headers": {
|
|
6569
6654
|
"header": "value"
|
|
6570
6655
|
},
|
|
6571
|
-
"
|
|
6656
|
+
"parameters": {
|
|
6572
6657
|
"param": "value"
|
|
6573
6658
|
}
|
|
6574
6659
|
},
|
|
@@ -6613,11 +6698,11 @@
|
|
|
6613
6698
|
},
|
|
6614
6699
|
{
|
|
6615
6700
|
"openApi": {
|
|
6616
|
-
"
|
|
6701
|
+
"name": "Reqres",
|
|
6617
6702
|
"operationId": "getUserById"
|
|
6618
6703
|
},
|
|
6619
6704
|
"request": {
|
|
6620
|
-
"
|
|
6705
|
+
"parameters": {
|
|
6621
6706
|
"id": 123
|
|
6622
6707
|
}
|
|
6623
6708
|
}
|
|
@@ -6628,7 +6713,7 @@
|
|
|
6628
6713
|
"operationId": "getUserById"
|
|
6629
6714
|
},
|
|
6630
6715
|
"request": {
|
|
6631
|
-
"
|
|
6716
|
+
"parameters": {
|
|
6632
6717
|
"id": 123
|
|
6633
6718
|
}
|
|
6634
6719
|
}
|
|
@@ -8410,7 +8495,7 @@
|
|
|
8410
8495
|
"headers": {
|
|
8411
8496
|
"header": "value"
|
|
8412
8497
|
},
|
|
8413
|
-
"
|
|
8498
|
+
"parameters": {
|
|
8414
8499
|
"param": "value"
|
|
8415
8500
|
}
|
|
8416
8501
|
},
|
|
@@ -8461,11 +8546,11 @@
|
|
|
8461
8546
|
{
|
|
8462
8547
|
"httpRequest": {
|
|
8463
8548
|
"openApi": {
|
|
8464
|
-
"
|
|
8549
|
+
"name": "Reqres",
|
|
8465
8550
|
"operationId": "getUserById"
|
|
8466
8551
|
},
|
|
8467
8552
|
"request": {
|
|
8468
|
-
"
|
|
8553
|
+
"parameters": {
|
|
8469
8554
|
"id": 123
|
|
8470
8555
|
}
|
|
8471
8556
|
}
|
|
@@ -8478,7 +8563,7 @@
|
|
|
8478
8563
|
"operationId": "getUserById"
|
|
8479
8564
|
},
|
|
8480
8565
|
"request": {
|
|
8481
|
-
"
|
|
8566
|
+
"parameters": {
|
|
8482
8567
|
"id": 123
|
|
8483
8568
|
}
|
|
8484
8569
|
}
|
|
@@ -8657,17 +8742,6 @@
|
|
|
8657
8742
|
}
|
|
8658
8743
|
}
|
|
8659
8744
|
]
|
|
8660
|
-
},
|
|
8661
|
-
"markupToInclude": {
|
|
8662
|
-
"description": "Markup types to include when performing this operation. If no markup types are specified, the operation includes all markup types as defined in `fileTypes`.",
|
|
8663
|
-
"type": "array",
|
|
8664
|
-
"items": {
|
|
8665
|
-
"oneOf": [
|
|
8666
|
-
{
|
|
8667
|
-
"type": "string"
|
|
8668
|
-
}
|
|
8669
|
-
]
|
|
8670
|
-
}
|
|
8671
8745
|
}
|
|
8672
8746
|
}
|
|
8673
8747
|
},
|