doc-detective-common 3.0.0-dev.0 → 3.0.0-dev.3
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 +466 -394
- 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 +1995 -1633
- package/src/schemas/src_schemas/config_v3.schema.json +26 -30
- 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 +38 -22
- 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
|
}
|
|
@@ -450,28 +483,27 @@
|
|
|
450
483
|
"default": [
|
|
451
484
|
"markdown",
|
|
452
485
|
"asciidoc",
|
|
453
|
-
"html"
|
|
454
|
-
"xml"
|
|
486
|
+
"html"
|
|
455
487
|
],
|
|
456
488
|
"anyOf": [
|
|
457
489
|
{
|
|
458
|
-
"$comment": "Custom mode: Define your own file types with full control.",
|
|
459
490
|
"type": "array",
|
|
460
491
|
"minItems": 1,
|
|
461
492
|
"items": {
|
|
462
493
|
"anyOf": [
|
|
463
494
|
{
|
|
464
495
|
"$comment": "Simple mode: Reference predefined templates by name.",
|
|
496
|
+
"title": "Predefined",
|
|
465
497
|
"type": "string",
|
|
466
498
|
"enum": [
|
|
467
499
|
"markdown",
|
|
468
500
|
"asciidoc",
|
|
469
|
-
"html"
|
|
470
|
-
"xml"
|
|
501
|
+
"html"
|
|
471
502
|
]
|
|
472
503
|
},
|
|
473
504
|
{
|
|
474
505
|
"$comment": "Custom mode: Extend predefined templates or write whole new ones.",
|
|
506
|
+
"title": "Custom",
|
|
475
507
|
"type": "object",
|
|
476
508
|
"required": [
|
|
477
509
|
"extensions"
|
|
@@ -482,13 +514,13 @@
|
|
|
482
514
|
"type": "string"
|
|
483
515
|
},
|
|
484
516
|
"extends": {
|
|
517
|
+
"$comment": "In development",
|
|
485
518
|
"description": "Base template to extend.",
|
|
486
519
|
"type": "string",
|
|
487
520
|
"enum": [
|
|
488
521
|
"markdown",
|
|
489
522
|
"asciidoc",
|
|
490
|
-
"html"
|
|
491
|
-
"xml"
|
|
523
|
+
"html"
|
|
492
524
|
]
|
|
493
525
|
},
|
|
494
526
|
"extensions": {
|
|
@@ -1735,7 +1767,7 @@
|
|
|
1735
1767
|
"description": "OpenAPI description and configuration.",
|
|
1736
1768
|
"additionalProperties": false,
|
|
1737
1769
|
"properties": {
|
|
1738
|
-
"
|
|
1770
|
+
"name": {
|
|
1739
1771
|
"type": "string",
|
|
1740
1772
|
"description": "Name of the OpenAPI description, as defined in your configuration."
|
|
1741
1773
|
},
|
|
@@ -1813,7 +1845,7 @@
|
|
|
1813
1845
|
"descriptionPath": "https://petstore.swagger.io/v2/swagger.json"
|
|
1814
1846
|
},
|
|
1815
1847
|
{
|
|
1816
|
-
"
|
|
1848
|
+
"name": "Reqres",
|
|
1817
1849
|
"operationId": "getUserById"
|
|
1818
1850
|
},
|
|
1819
1851
|
{
|
|
@@ -1890,7 +1922,8 @@
|
|
|
1890
1922
|
]
|
|
1891
1923
|
},
|
|
1892
1924
|
"default": [
|
|
1893
|
-
200
|
|
1925
|
+
200,
|
|
1926
|
+
201
|
|
1894
1927
|
]
|
|
1895
1928
|
},
|
|
1896
1929
|
"method": {
|
|
@@ -1916,6 +1949,7 @@
|
|
|
1916
1949
|
},
|
|
1917
1950
|
"request": {
|
|
1918
1951
|
"type": "object",
|
|
1952
|
+
"additionalProperties": false,
|
|
1919
1953
|
"properties": {
|
|
1920
1954
|
"headers": {
|
|
1921
1955
|
"description": "Headers to include in the HTTP request, in key/value format.",
|
|
@@ -1924,14 +1958,14 @@
|
|
|
1924
1958
|
"properties": {},
|
|
1925
1959
|
"default": {}
|
|
1926
1960
|
},
|
|
1927
|
-
"
|
|
1961
|
+
"parameters": {
|
|
1928
1962
|
"description": "URL parameters to include in the HTTP request, in key/value format.",
|
|
1929
1963
|
"type": "object",
|
|
1930
1964
|
"additionalProperties": true,
|
|
1931
1965
|
"default": {},
|
|
1932
1966
|
"properties": {}
|
|
1933
1967
|
},
|
|
1934
|
-
"
|
|
1968
|
+
"body": {
|
|
1935
1969
|
"description": "JSON object to include as the body of the HTTP request.",
|
|
1936
1970
|
"anyOf": [
|
|
1937
1971
|
{
|
|
@@ -1939,6 +1973,10 @@
|
|
|
1939
1973
|
"additionalProperties": true,
|
|
1940
1974
|
"properties": {}
|
|
1941
1975
|
},
|
|
1976
|
+
{
|
|
1977
|
+
"type": "array",
|
|
1978
|
+
"items": {}
|
|
1979
|
+
},
|
|
1942
1980
|
{
|
|
1943
1981
|
"type": "string"
|
|
1944
1982
|
}
|
|
@@ -1949,6 +1987,7 @@
|
|
|
1949
1987
|
},
|
|
1950
1988
|
"response": {
|
|
1951
1989
|
"type": "object",
|
|
1990
|
+
"additionalProperties": false,
|
|
1952
1991
|
"properties": {
|
|
1953
1992
|
"headers": {
|
|
1954
1993
|
"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 +1996,7 @@
|
|
|
1957
1996
|
"properties": {},
|
|
1958
1997
|
"default": {}
|
|
1959
1998
|
},
|
|
1960
|
-
"
|
|
1999
|
+
"body": {
|
|
1961
2000
|
"description": "JSON object expected in the response. If one or more key/value pairs aren't present in the response, the step fails.",
|
|
1962
2001
|
"anyOf": [
|
|
1963
2002
|
{
|
|
@@ -1965,6 +2004,10 @@
|
|
|
1965
2004
|
"additionalProperties": true,
|
|
1966
2005
|
"properties": {}
|
|
1967
2006
|
},
|
|
2007
|
+
{
|
|
2008
|
+
"type": "array",
|
|
2009
|
+
"items": {}
|
|
2010
|
+
},
|
|
1968
2011
|
{
|
|
1969
2012
|
"type": "string"
|
|
1970
2013
|
}
|
|
@@ -2001,7 +2044,7 @@
|
|
|
2001
2044
|
"false",
|
|
2002
2045
|
"aboveVariation"
|
|
2003
2046
|
],
|
|
2004
|
-
"default": "
|
|
2047
|
+
"default": "aboveVariation"
|
|
2005
2048
|
}
|
|
2006
2049
|
}
|
|
2007
2050
|
}
|
|
@@ -2066,7 +2109,7 @@
|
|
|
2066
2109
|
"description": "OpenAPI description and configuration.",
|
|
2067
2110
|
"additionalProperties": false,
|
|
2068
2111
|
"properties": {
|
|
2069
|
-
"
|
|
2112
|
+
"name": {
|
|
2070
2113
|
"type": "string",
|
|
2071
2114
|
"description": "Name of the OpenAPI description, as defined in your configuration."
|
|
2072
2115
|
},
|
|
@@ -2144,7 +2187,7 @@
|
|
|
2144
2187
|
"descriptionPath": "https://petstore.swagger.io/v2/swagger.json"
|
|
2145
2188
|
},
|
|
2146
2189
|
{
|
|
2147
|
-
"
|
|
2190
|
+
"name": "Reqres",
|
|
2148
2191
|
"operationId": "getUserById"
|
|
2149
2192
|
},
|
|
2150
2193
|
{
|
|
@@ -2221,7 +2264,8 @@
|
|
|
2221
2264
|
]
|
|
2222
2265
|
},
|
|
2223
2266
|
"default": [
|
|
2224
|
-
200
|
|
2267
|
+
200,
|
|
2268
|
+
201
|
|
2225
2269
|
]
|
|
2226
2270
|
},
|
|
2227
2271
|
"method": {
|
|
@@ -2247,6 +2291,7 @@
|
|
|
2247
2291
|
},
|
|
2248
2292
|
"request": {
|
|
2249
2293
|
"type": "object",
|
|
2294
|
+
"additionalProperties": false,
|
|
2250
2295
|
"properties": {
|
|
2251
2296
|
"headers": {
|
|
2252
2297
|
"description": "Headers to include in the HTTP request, in key/value format.",
|
|
@@ -2255,14 +2300,14 @@
|
|
|
2255
2300
|
"properties": {},
|
|
2256
2301
|
"default": {}
|
|
2257
2302
|
},
|
|
2258
|
-
"
|
|
2303
|
+
"parameters": {
|
|
2259
2304
|
"description": "URL parameters to include in the HTTP request, in key/value format.",
|
|
2260
2305
|
"type": "object",
|
|
2261
2306
|
"additionalProperties": true,
|
|
2262
2307
|
"default": {},
|
|
2263
2308
|
"properties": {}
|
|
2264
2309
|
},
|
|
2265
|
-
"
|
|
2310
|
+
"body": {
|
|
2266
2311
|
"description": "JSON object to include as the body of the HTTP request.",
|
|
2267
2312
|
"anyOf": [
|
|
2268
2313
|
{
|
|
@@ -2270,6 +2315,10 @@
|
|
|
2270
2315
|
"additionalProperties": true,
|
|
2271
2316
|
"properties": {}
|
|
2272
2317
|
},
|
|
2318
|
+
{
|
|
2319
|
+
"type": "array",
|
|
2320
|
+
"items": {}
|
|
2321
|
+
},
|
|
2273
2322
|
{
|
|
2274
2323
|
"type": "string"
|
|
2275
2324
|
}
|
|
@@ -2280,6 +2329,7 @@
|
|
|
2280
2329
|
},
|
|
2281
2330
|
"response": {
|
|
2282
2331
|
"type": "object",
|
|
2332
|
+
"additionalProperties": false,
|
|
2283
2333
|
"properties": {
|
|
2284
2334
|
"headers": {
|
|
2285
2335
|
"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 +2338,7 @@
|
|
|
2288
2338
|
"properties": {},
|
|
2289
2339
|
"default": {}
|
|
2290
2340
|
},
|
|
2291
|
-
"
|
|
2341
|
+
"body": {
|
|
2292
2342
|
"description": "JSON object expected in the response. If one or more key/value pairs aren't present in the response, the step fails.",
|
|
2293
2343
|
"anyOf": [
|
|
2294
2344
|
{
|
|
@@ -2296,6 +2346,10 @@
|
|
|
2296
2346
|
"additionalProperties": true,
|
|
2297
2347
|
"properties": {}
|
|
2298
2348
|
},
|
|
2349
|
+
{
|
|
2350
|
+
"type": "array",
|
|
2351
|
+
"items": {}
|
|
2352
|
+
},
|
|
2299
2353
|
{
|
|
2300
2354
|
"type": "string"
|
|
2301
2355
|
}
|
|
@@ -2332,7 +2386,7 @@
|
|
|
2332
2386
|
"false",
|
|
2333
2387
|
"aboveVariation"
|
|
2334
2388
|
],
|
|
2335
|
-
"default": "
|
|
2389
|
+
"default": "aboveVariation"
|
|
2336
2390
|
}
|
|
2337
2391
|
}
|
|
2338
2392
|
}
|
|
@@ -2384,7 +2438,7 @@
|
|
|
2384
2438
|
"headers": {
|
|
2385
2439
|
"header": "value"
|
|
2386
2440
|
},
|
|
2387
|
-
"
|
|
2441
|
+
"parameters": {
|
|
2388
2442
|
"param": "value"
|
|
2389
2443
|
}
|
|
2390
2444
|
},
|
|
@@ -2429,11 +2483,11 @@
|
|
|
2429
2483
|
},
|
|
2430
2484
|
{
|
|
2431
2485
|
"openApi": {
|
|
2432
|
-
"
|
|
2486
|
+
"name": "Reqres",
|
|
2433
2487
|
"operationId": "getUserById"
|
|
2434
2488
|
},
|
|
2435
2489
|
"request": {
|
|
2436
|
-
"
|
|
2490
|
+
"parameters": {
|
|
2437
2491
|
"id": 123
|
|
2438
2492
|
}
|
|
2439
2493
|
}
|
|
@@ -2444,7 +2498,7 @@
|
|
|
2444
2498
|
"operationId": "getUserById"
|
|
2445
2499
|
},
|
|
2446
2500
|
"request": {
|
|
2447
|
-
"
|
|
2501
|
+
"parameters": {
|
|
2448
2502
|
"id": 123
|
|
2449
2503
|
}
|
|
2450
2504
|
}
|
|
@@ -4226,7 +4280,7 @@
|
|
|
4226
4280
|
"headers": {
|
|
4227
4281
|
"header": "value"
|
|
4228
4282
|
},
|
|
4229
|
-
"
|
|
4283
|
+
"parameters": {
|
|
4230
4284
|
"param": "value"
|
|
4231
4285
|
}
|
|
4232
4286
|
},
|
|
@@ -4277,11 +4331,11 @@
|
|
|
4277
4331
|
{
|
|
4278
4332
|
"httpRequest": {
|
|
4279
4333
|
"openApi": {
|
|
4280
|
-
"
|
|
4334
|
+
"name": "Reqres",
|
|
4281
4335
|
"operationId": "getUserById"
|
|
4282
4336
|
},
|
|
4283
4337
|
"request": {
|
|
4284
|
-
"
|
|
4338
|
+
"parameters": {
|
|
4285
4339
|
"id": 123
|
|
4286
4340
|
}
|
|
4287
4341
|
}
|
|
@@ -4294,7 +4348,7 @@
|
|
|
4294
4348
|
"operationId": "getUserById"
|
|
4295
4349
|
},
|
|
4296
4350
|
"request": {
|
|
4297
|
-
"
|
|
4351
|
+
"parameters": {
|
|
4298
4352
|
"id": 123
|
|
4299
4353
|
}
|
|
4300
4354
|
}
|
|
@@ -4345,128 +4399,47 @@
|
|
|
4345
4399
|
}
|
|
4346
4400
|
},
|
|
4347
4401
|
{
|
|
4402
|
+
"title": "Executable",
|
|
4348
4403
|
"$comment": "Executable mode: Convert executable inputs directly into tests.",
|
|
4349
|
-
"
|
|
4350
|
-
|
|
4351
|
-
"
|
|
4352
|
-
|
|
4353
|
-
|
|
4354
|
-
|
|
4355
|
-
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
|
|
4360
|
-
"items": {
|
|
4404
|
+
"type": "object",
|
|
4405
|
+
"required": [
|
|
4406
|
+
"extensions"
|
|
4407
|
+
],
|
|
4408
|
+
"properties": {
|
|
4409
|
+
"extensions": {
|
|
4410
|
+
"description": "File extensions to use with type.",
|
|
4411
|
+
"anyOf": [
|
|
4412
|
+
{
|
|
4413
|
+
"anyOf": [
|
|
4414
|
+
{
|
|
4361
4415
|
"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
|
|
4416
|
+
},
|
|
4417
|
+
{
|
|
4418
|
+
"type": "array",
|
|
4419
|
+
"minItems": 1,
|
|
4420
|
+
"items": {
|
|
4421
|
+
"type": "string"
|
|
4457
4422
|
}
|
|
4458
4423
|
}
|
|
4459
|
-
|
|
4460
|
-
|
|
4461
|
-
|
|
4462
|
-
|
|
4463
|
-
|
|
4424
|
+
]
|
|
4425
|
+
}
|
|
4426
|
+
]
|
|
4427
|
+
},
|
|
4428
|
+
"runShell": {
|
|
4429
|
+
"description": "`runShell` step to perform for this file type. Use $1 as a placeholder for the file path.",
|
|
4430
|
+
"anyOf": [
|
|
4431
|
+
{
|
|
4432
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4433
|
+
"title": "runShell",
|
|
4434
|
+
"description": "Perform a native shell command.",
|
|
4435
|
+
"anyOf": [
|
|
4436
|
+
{
|
|
4464
4437
|
"type": "string",
|
|
4465
4438
|
"transform": [
|
|
4466
4439
|
"trim"
|
|
4467
4440
|
]
|
|
4468
4441
|
},
|
|
4469
|
-
|
|
4442
|
+
{
|
|
4470
4443
|
"type": "object",
|
|
4471
4444
|
"required": [
|
|
4472
4445
|
"command"
|
|
@@ -4544,61 +4517,149 @@
|
|
|
4544
4517
|
}
|
|
4545
4518
|
}
|
|
4546
4519
|
}
|
|
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
|
-
|
|
4520
|
+
],
|
|
4521
|
+
"components": {
|
|
4522
|
+
"schemas": {
|
|
4523
|
+
"string": {
|
|
4524
|
+
"type": "string",
|
|
4525
|
+
"transform": [
|
|
4526
|
+
"trim"
|
|
4527
|
+
]
|
|
4528
|
+
},
|
|
4529
|
+
"object": {
|
|
4530
|
+
"type": "object",
|
|
4531
|
+
"required": [
|
|
4532
|
+
"command"
|
|
4533
|
+
],
|
|
4534
|
+
"additionalProperties": false,
|
|
4535
|
+
"properties": {
|
|
4536
|
+
"command": {
|
|
4537
|
+
"type": "string",
|
|
4538
|
+
"description": "Command to perform in the machine's default shell."
|
|
4539
|
+
},
|
|
4540
|
+
"args": {
|
|
4541
|
+
"type": "array",
|
|
4542
|
+
"description": "Arguments for the command.",
|
|
4543
|
+
"items": {
|
|
4544
|
+
"oneOf": [
|
|
4545
|
+
{
|
|
4546
|
+
"type": "string"
|
|
4547
|
+
}
|
|
4548
|
+
]
|
|
4549
|
+
},
|
|
4550
|
+
"default": []
|
|
4551
|
+
},
|
|
4552
|
+
"workingDirectory": {
|
|
4553
|
+
"type": "string",
|
|
4554
|
+
"description": "Working directory for the command.",
|
|
4555
|
+
"default": "."
|
|
4556
|
+
},
|
|
4557
|
+
"exitCodes": {
|
|
4558
|
+
"type": "array",
|
|
4559
|
+
"description": "Expected exit codes of the command. If the command's actual exit code isn't in this list, the step fails.",
|
|
4560
|
+
"items": {
|
|
4561
|
+
"oneOf": [
|
|
4562
|
+
{
|
|
4563
|
+
"type": "integer"
|
|
4564
|
+
}
|
|
4565
|
+
]
|
|
4566
|
+
},
|
|
4567
|
+
"default": [
|
|
4568
|
+
0
|
|
4569
|
+
]
|
|
4570
|
+
},
|
|
4571
|
+
"stdio": {
|
|
4572
|
+
"type": "string",
|
|
4573
|
+
"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.*/`."
|
|
4574
|
+
},
|
|
4575
|
+
"path": {
|
|
4576
|
+
"type": "string",
|
|
4577
|
+
"description": "File path to save the command's output, relative to `directory`."
|
|
4578
|
+
},
|
|
4579
|
+
"directory": {
|
|
4580
|
+
"type": "string",
|
|
4581
|
+
"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."
|
|
4582
|
+
},
|
|
4583
|
+
"maxVariation": {
|
|
4584
|
+
"type": "number",
|
|
4585
|
+
"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.",
|
|
4586
|
+
"default": 0,
|
|
4587
|
+
"minimum": 0,
|
|
4588
|
+
"maximum": 1
|
|
4589
|
+
},
|
|
4590
|
+
"overwrite": {
|
|
4591
|
+
"type": "string",
|
|
4592
|
+
"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`.",
|
|
4593
|
+
"enum": [
|
|
4594
|
+
"true",
|
|
4595
|
+
"false",
|
|
4596
|
+
"aboveVariation"
|
|
4597
|
+
],
|
|
4598
|
+
"default": "aboveVariation"
|
|
4599
|
+
},
|
|
4600
|
+
"timeout": {
|
|
4601
|
+
"type": "integer",
|
|
4602
|
+
"description": "Max time in milliseconds the command is allowed to run. If the command runs longer than this, the step fails.",
|
|
4603
|
+
"default": 60000
|
|
4604
|
+
}
|
|
4605
|
+
}
|
|
4606
|
+
}
|
|
4607
|
+
}
|
|
4586
4608
|
},
|
|
4587
|
-
|
|
4588
|
-
"
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
|
|
4592
|
-
|
|
4593
|
-
|
|
4594
|
-
|
|
4595
|
-
|
|
4596
|
-
|
|
4597
|
-
|
|
4598
|
-
|
|
4599
|
-
|
|
4600
|
-
|
|
4601
|
-
|
|
4609
|
+
"examples": [
|
|
4610
|
+
"docker run hello-world",
|
|
4611
|
+
{
|
|
4612
|
+
"command": "echo",
|
|
4613
|
+
"args": [
|
|
4614
|
+
"$USER"
|
|
4615
|
+
]
|
|
4616
|
+
},
|
|
4617
|
+
{
|
|
4618
|
+
"command": "echo",
|
|
4619
|
+
"args": [
|
|
4620
|
+
"hello-world"
|
|
4621
|
+
]
|
|
4622
|
+
},
|
|
4623
|
+
{
|
|
4624
|
+
"command": "docker run hello-world",
|
|
4625
|
+
"timeout": 20000,
|
|
4626
|
+
"exitCodes": [
|
|
4627
|
+
0
|
|
4628
|
+
],
|
|
4629
|
+
"stdio": "Hello from Docker!"
|
|
4630
|
+
},
|
|
4631
|
+
{
|
|
4632
|
+
"command": "false",
|
|
4633
|
+
"exitCodes": [
|
|
4634
|
+
1
|
|
4635
|
+
]
|
|
4636
|
+
},
|
|
4637
|
+
{
|
|
4638
|
+
"command": "echo",
|
|
4639
|
+
"args": [
|
|
4640
|
+
"setup"
|
|
4641
|
+
],
|
|
4642
|
+
"exitCodes": [
|
|
4643
|
+
0
|
|
4644
|
+
],
|
|
4645
|
+
"stdio": "/.*?/"
|
|
4646
|
+
},
|
|
4647
|
+
{
|
|
4648
|
+
"command": "docker run hello-world",
|
|
4649
|
+
"workingDirectory": ".",
|
|
4650
|
+
"exitCodes": [
|
|
4651
|
+
0
|
|
4652
|
+
],
|
|
4653
|
+
"stdio": "Hello from Docker!",
|
|
4654
|
+
"path": "docker-output.txt",
|
|
4655
|
+
"directory": "output",
|
|
4656
|
+
"maxVariation": 0.1,
|
|
4657
|
+
"overwrite": "aboveVariation"
|
|
4658
|
+
}
|
|
4659
|
+
]
|
|
4660
|
+
}
|
|
4661
|
+
]
|
|
4662
|
+
}
|
|
4602
4663
|
}
|
|
4603
4664
|
}
|
|
4604
4665
|
]
|
|
@@ -4623,7 +4684,7 @@
|
|
|
4623
4684
|
"description": "OpenAPI description and configuration.",
|
|
4624
4685
|
"additionalProperties": false,
|
|
4625
4686
|
"properties": {
|
|
4626
|
-
"
|
|
4687
|
+
"name": {
|
|
4627
4688
|
"type": "string",
|
|
4628
4689
|
"description": "Name of the OpenAPI description, as defined in your configuration."
|
|
4629
4690
|
},
|
|
@@ -4701,7 +4762,7 @@
|
|
|
4701
4762
|
"descriptionPath": "https://petstore.swagger.io/v2/swagger.json"
|
|
4702
4763
|
},
|
|
4703
4764
|
{
|
|
4704
|
-
"
|
|
4765
|
+
"name": "Reqres",
|
|
4705
4766
|
"operationId": "getUserById"
|
|
4706
4767
|
},
|
|
4707
4768
|
{
|
|
@@ -4765,7 +4826,7 @@
|
|
|
4765
4826
|
]
|
|
4766
4827
|
},
|
|
4767
4828
|
"required": [
|
|
4768
|
-
"
|
|
4829
|
+
"name",
|
|
4769
4830
|
"descriptionPath"
|
|
4770
4831
|
]
|
|
4771
4832
|
}
|
|
@@ -5919,7 +5980,7 @@
|
|
|
5919
5980
|
"description": "OpenAPI description and configuration.",
|
|
5920
5981
|
"additionalProperties": false,
|
|
5921
5982
|
"properties": {
|
|
5922
|
-
"
|
|
5983
|
+
"name": {
|
|
5923
5984
|
"type": "string",
|
|
5924
5985
|
"description": "Name of the OpenAPI description, as defined in your configuration."
|
|
5925
5986
|
},
|
|
@@ -5997,7 +6058,7 @@
|
|
|
5997
6058
|
"descriptionPath": "https://petstore.swagger.io/v2/swagger.json"
|
|
5998
6059
|
},
|
|
5999
6060
|
{
|
|
6000
|
-
"
|
|
6061
|
+
"name": "Reqres",
|
|
6001
6062
|
"operationId": "getUserById"
|
|
6002
6063
|
},
|
|
6003
6064
|
{
|
|
@@ -6074,7 +6135,8 @@
|
|
|
6074
6135
|
]
|
|
6075
6136
|
},
|
|
6076
6137
|
"default": [
|
|
6077
|
-
200
|
|
6138
|
+
200,
|
|
6139
|
+
201
|
|
6078
6140
|
]
|
|
6079
6141
|
},
|
|
6080
6142
|
"method": {
|
|
@@ -6100,6 +6162,7 @@
|
|
|
6100
6162
|
},
|
|
6101
6163
|
"request": {
|
|
6102
6164
|
"type": "object",
|
|
6165
|
+
"additionalProperties": false,
|
|
6103
6166
|
"properties": {
|
|
6104
6167
|
"headers": {
|
|
6105
6168
|
"description": "Headers to include in the HTTP request, in key/value format.",
|
|
@@ -6108,14 +6171,14 @@
|
|
|
6108
6171
|
"properties": {},
|
|
6109
6172
|
"default": {}
|
|
6110
6173
|
},
|
|
6111
|
-
"
|
|
6174
|
+
"parameters": {
|
|
6112
6175
|
"description": "URL parameters to include in the HTTP request, in key/value format.",
|
|
6113
6176
|
"type": "object",
|
|
6114
6177
|
"additionalProperties": true,
|
|
6115
6178
|
"default": {},
|
|
6116
6179
|
"properties": {}
|
|
6117
6180
|
},
|
|
6118
|
-
"
|
|
6181
|
+
"body": {
|
|
6119
6182
|
"description": "JSON object to include as the body of the HTTP request.",
|
|
6120
6183
|
"anyOf": [
|
|
6121
6184
|
{
|
|
@@ -6123,6 +6186,10 @@
|
|
|
6123
6186
|
"additionalProperties": true,
|
|
6124
6187
|
"properties": {}
|
|
6125
6188
|
},
|
|
6189
|
+
{
|
|
6190
|
+
"type": "array",
|
|
6191
|
+
"items": {}
|
|
6192
|
+
},
|
|
6126
6193
|
{
|
|
6127
6194
|
"type": "string"
|
|
6128
6195
|
}
|
|
@@ -6133,6 +6200,7 @@
|
|
|
6133
6200
|
},
|
|
6134
6201
|
"response": {
|
|
6135
6202
|
"type": "object",
|
|
6203
|
+
"additionalProperties": false,
|
|
6136
6204
|
"properties": {
|
|
6137
6205
|
"headers": {
|
|
6138
6206
|
"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 +6209,7 @@
|
|
|
6141
6209
|
"properties": {},
|
|
6142
6210
|
"default": {}
|
|
6143
6211
|
},
|
|
6144
|
-
"
|
|
6212
|
+
"body": {
|
|
6145
6213
|
"description": "JSON object expected in the response. If one or more key/value pairs aren't present in the response, the step fails.",
|
|
6146
6214
|
"anyOf": [
|
|
6147
6215
|
{
|
|
@@ -6149,6 +6217,10 @@
|
|
|
6149
6217
|
"additionalProperties": true,
|
|
6150
6218
|
"properties": {}
|
|
6151
6219
|
},
|
|
6220
|
+
{
|
|
6221
|
+
"type": "array",
|
|
6222
|
+
"items": {}
|
|
6223
|
+
},
|
|
6152
6224
|
{
|
|
6153
6225
|
"type": "string"
|
|
6154
6226
|
}
|
|
@@ -6185,7 +6257,7 @@
|
|
|
6185
6257
|
"false",
|
|
6186
6258
|
"aboveVariation"
|
|
6187
6259
|
],
|
|
6188
|
-
"default": "
|
|
6260
|
+
"default": "aboveVariation"
|
|
6189
6261
|
}
|
|
6190
6262
|
}
|
|
6191
6263
|
}
|
|
@@ -6250,7 +6322,7 @@
|
|
|
6250
6322
|
"description": "OpenAPI description and configuration.",
|
|
6251
6323
|
"additionalProperties": false,
|
|
6252
6324
|
"properties": {
|
|
6253
|
-
"
|
|
6325
|
+
"name": {
|
|
6254
6326
|
"type": "string",
|
|
6255
6327
|
"description": "Name of the OpenAPI description, as defined in your configuration."
|
|
6256
6328
|
},
|
|
@@ -6328,7 +6400,7 @@
|
|
|
6328
6400
|
"descriptionPath": "https://petstore.swagger.io/v2/swagger.json"
|
|
6329
6401
|
},
|
|
6330
6402
|
{
|
|
6331
|
-
"
|
|
6403
|
+
"name": "Reqres",
|
|
6332
6404
|
"operationId": "getUserById"
|
|
6333
6405
|
},
|
|
6334
6406
|
{
|
|
@@ -6405,7 +6477,8 @@
|
|
|
6405
6477
|
]
|
|
6406
6478
|
},
|
|
6407
6479
|
"default": [
|
|
6408
|
-
200
|
|
6480
|
+
200,
|
|
6481
|
+
201
|
|
6409
6482
|
]
|
|
6410
6483
|
},
|
|
6411
6484
|
"method": {
|
|
@@ -6431,6 +6504,7 @@
|
|
|
6431
6504
|
},
|
|
6432
6505
|
"request": {
|
|
6433
6506
|
"type": "object",
|
|
6507
|
+
"additionalProperties": false,
|
|
6434
6508
|
"properties": {
|
|
6435
6509
|
"headers": {
|
|
6436
6510
|
"description": "Headers to include in the HTTP request, in key/value format.",
|
|
@@ -6439,14 +6513,14 @@
|
|
|
6439
6513
|
"properties": {},
|
|
6440
6514
|
"default": {}
|
|
6441
6515
|
},
|
|
6442
|
-
"
|
|
6516
|
+
"parameters": {
|
|
6443
6517
|
"description": "URL parameters to include in the HTTP request, in key/value format.",
|
|
6444
6518
|
"type": "object",
|
|
6445
6519
|
"additionalProperties": true,
|
|
6446
6520
|
"default": {},
|
|
6447
6521
|
"properties": {}
|
|
6448
6522
|
},
|
|
6449
|
-
"
|
|
6523
|
+
"body": {
|
|
6450
6524
|
"description": "JSON object to include as the body of the HTTP request.",
|
|
6451
6525
|
"anyOf": [
|
|
6452
6526
|
{
|
|
@@ -6454,6 +6528,10 @@
|
|
|
6454
6528
|
"additionalProperties": true,
|
|
6455
6529
|
"properties": {}
|
|
6456
6530
|
},
|
|
6531
|
+
{
|
|
6532
|
+
"type": "array",
|
|
6533
|
+
"items": {}
|
|
6534
|
+
},
|
|
6457
6535
|
{
|
|
6458
6536
|
"type": "string"
|
|
6459
6537
|
}
|
|
@@ -6464,6 +6542,7 @@
|
|
|
6464
6542
|
},
|
|
6465
6543
|
"response": {
|
|
6466
6544
|
"type": "object",
|
|
6545
|
+
"additionalProperties": false,
|
|
6467
6546
|
"properties": {
|
|
6468
6547
|
"headers": {
|
|
6469
6548
|
"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 +6551,7 @@
|
|
|
6472
6551
|
"properties": {},
|
|
6473
6552
|
"default": {}
|
|
6474
6553
|
},
|
|
6475
|
-
"
|
|
6554
|
+
"body": {
|
|
6476
6555
|
"description": "JSON object expected in the response. If one or more key/value pairs aren't present in the response, the step fails.",
|
|
6477
6556
|
"anyOf": [
|
|
6478
6557
|
{
|
|
@@ -6480,6 +6559,10 @@
|
|
|
6480
6559
|
"additionalProperties": true,
|
|
6481
6560
|
"properties": {}
|
|
6482
6561
|
},
|
|
6562
|
+
{
|
|
6563
|
+
"type": "array",
|
|
6564
|
+
"items": {}
|
|
6565
|
+
},
|
|
6483
6566
|
{
|
|
6484
6567
|
"type": "string"
|
|
6485
6568
|
}
|
|
@@ -6516,7 +6599,7 @@
|
|
|
6516
6599
|
"false",
|
|
6517
6600
|
"aboveVariation"
|
|
6518
6601
|
],
|
|
6519
|
-
"default": "
|
|
6602
|
+
"default": "aboveVariation"
|
|
6520
6603
|
}
|
|
6521
6604
|
}
|
|
6522
6605
|
}
|
|
@@ -6568,7 +6651,7 @@
|
|
|
6568
6651
|
"headers": {
|
|
6569
6652
|
"header": "value"
|
|
6570
6653
|
},
|
|
6571
|
-
"
|
|
6654
|
+
"parameters": {
|
|
6572
6655
|
"param": "value"
|
|
6573
6656
|
}
|
|
6574
6657
|
},
|
|
@@ -6613,11 +6696,11 @@
|
|
|
6613
6696
|
},
|
|
6614
6697
|
{
|
|
6615
6698
|
"openApi": {
|
|
6616
|
-
"
|
|
6699
|
+
"name": "Reqres",
|
|
6617
6700
|
"operationId": "getUserById"
|
|
6618
6701
|
},
|
|
6619
6702
|
"request": {
|
|
6620
|
-
"
|
|
6703
|
+
"parameters": {
|
|
6621
6704
|
"id": 123
|
|
6622
6705
|
}
|
|
6623
6706
|
}
|
|
@@ -6628,7 +6711,7 @@
|
|
|
6628
6711
|
"operationId": "getUserById"
|
|
6629
6712
|
},
|
|
6630
6713
|
"request": {
|
|
6631
|
-
"
|
|
6714
|
+
"parameters": {
|
|
6632
6715
|
"id": 123
|
|
6633
6716
|
}
|
|
6634
6717
|
}
|
|
@@ -8410,7 +8493,7 @@
|
|
|
8410
8493
|
"headers": {
|
|
8411
8494
|
"header": "value"
|
|
8412
8495
|
},
|
|
8413
|
-
"
|
|
8496
|
+
"parameters": {
|
|
8414
8497
|
"param": "value"
|
|
8415
8498
|
}
|
|
8416
8499
|
},
|
|
@@ -8461,11 +8544,11 @@
|
|
|
8461
8544
|
{
|
|
8462
8545
|
"httpRequest": {
|
|
8463
8546
|
"openApi": {
|
|
8464
|
-
"
|
|
8547
|
+
"name": "Reqres",
|
|
8465
8548
|
"operationId": "getUserById"
|
|
8466
8549
|
},
|
|
8467
8550
|
"request": {
|
|
8468
|
-
"
|
|
8551
|
+
"parameters": {
|
|
8469
8552
|
"id": 123
|
|
8470
8553
|
}
|
|
8471
8554
|
}
|
|
@@ -8478,7 +8561,7 @@
|
|
|
8478
8561
|
"operationId": "getUserById"
|
|
8479
8562
|
},
|
|
8480
8563
|
"request": {
|
|
8481
|
-
"
|
|
8564
|
+
"parameters": {
|
|
8482
8565
|
"id": 123
|
|
8483
8566
|
}
|
|
8484
8567
|
}
|
|
@@ -8657,17 +8740,6 @@
|
|
|
8657
8740
|
}
|
|
8658
8741
|
}
|
|
8659
8742
|
]
|
|
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
8743
|
}
|
|
8672
8744
|
}
|
|
8673
8745
|
},
|