doc-detective-common 3.4.0 → 3.4.1-dev.2
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/AGENTS.md +285 -0
- package/dist/schemas/config_v3.schema.json +151 -0
- package/dist/schemas/httpRequest_v3.schema.json +62 -0
- package/dist/schemas/report_v3.schema.json +124 -0
- package/dist/schemas/resolvedTests_v3.schema.json +275 -0
- package/dist/schemas/spec_v3.schema.json +124 -0
- package/dist/schemas/step_v3.schema.json +62 -0
- package/dist/schemas/test_v3.schema.json +124 -0
- package/package.json +5 -5
- package/src/resolvePaths.js +11 -0
- package/src/schemas/build/config_v3.schema.json +27 -0
- package/src/schemas/build/httpRequest_v3.schema.json +54 -0
- package/src/schemas/output_schemas/config_v3.schema.json +151 -0
- package/src/schemas/output_schemas/httpRequest_v3.schema.json +62 -0
- package/src/schemas/output_schemas/report_v3.schema.json +124 -0
- package/src/schemas/output_schemas/resolvedTests_v3.schema.json +275 -0
- package/src/schemas/output_schemas/spec_v3.schema.json +124 -0
- package/src/schemas/output_schemas/step_v3.schema.json +62 -0
- package/src/schemas/output_schemas/test_v3.schema.json +124 -0
- package/src/schemas/schemas.json +922 -0
- package/src/schemas/src_schemas/config_v3.schema.json +27 -0
- package/src/schemas/src_schemas/httpRequest_v3.schema.json +50 -0
|
@@ -134,6 +134,11 @@
|
|
|
134
134
|
"type": "boolean",
|
|
135
135
|
"description": "Whether or not to run potentially unsafe steps, such as those that might modify files or system state."
|
|
136
136
|
},
|
|
137
|
+
"crawl": {
|
|
138
|
+
"description": "If `true`, crawls sitemap.xml files specified by URL to find additional files to test.",
|
|
139
|
+
"type": "boolean",
|
|
140
|
+
"default": false
|
|
141
|
+
},
|
|
137
142
|
"processDitaMaps": {
|
|
138
143
|
"description": "If `true`, processes DITA maps and includes generated files as inputs.",
|
|
139
144
|
"type": "boolean",
|
|
@@ -2697,6 +2702,14 @@
|
|
|
2697
2702
|
}
|
|
2698
2703
|
],
|
|
2699
2704
|
"default": {}
|
|
2705
|
+
},
|
|
2706
|
+
"required": {
|
|
2707
|
+
"type": "array",
|
|
2708
|
+
"description": "Array of field paths that must exist in the response body. Uses dot notation for nested fields (e.g., 'user.name') and bracket notation for array indices (e.g., 'items[0].id'). Fields must be present but may have any value including null.",
|
|
2709
|
+
"items": {
|
|
2710
|
+
"type": "string"
|
|
2711
|
+
},
|
|
2712
|
+
"default": []
|
|
2700
2713
|
}
|
|
2701
2714
|
},
|
|
2702
2715
|
"title": "Response"
|
|
@@ -3088,6 +3101,14 @@
|
|
|
3088
3101
|
}
|
|
3089
3102
|
],
|
|
3090
3103
|
"default": {}
|
|
3104
|
+
},
|
|
3105
|
+
"required": {
|
|
3106
|
+
"type": "array",
|
|
3107
|
+
"description": "Array of field paths that must exist in the response body. Uses dot notation for nested fields (e.g., 'user.name') and bracket notation for array indices (e.g., 'items[0].id'). Fields must be present but may have any value including null.",
|
|
3108
|
+
"items": {
|
|
3109
|
+
"type": "string"
|
|
3110
|
+
},
|
|
3111
|
+
"default": []
|
|
3091
3112
|
}
|
|
3092
3113
|
},
|
|
3093
3114
|
"title": "Response"
|
|
@@ -3269,6 +3290,52 @@
|
|
|
3269
3290
|
"request": {
|
|
3270
3291
|
"headers": "Content-Type: application/json\\nAuthorization: Bearer token"
|
|
3271
3292
|
}
|
|
3293
|
+
},
|
|
3294
|
+
{
|
|
3295
|
+
"url": "https://api.example.com/users/123",
|
|
3296
|
+
"response": {
|
|
3297
|
+
"required": [
|
|
3298
|
+
"id",
|
|
3299
|
+
"email",
|
|
3300
|
+
"createdAt"
|
|
3301
|
+
]
|
|
3302
|
+
}
|
|
3303
|
+
},
|
|
3304
|
+
{
|
|
3305
|
+
"url": "https://api.example.com/users/123",
|
|
3306
|
+
"response": {
|
|
3307
|
+
"required": [
|
|
3308
|
+
"user.profile.name",
|
|
3309
|
+
"user.profile.avatar",
|
|
3310
|
+
"user.settings.notifications"
|
|
3311
|
+
]
|
|
3312
|
+
}
|
|
3313
|
+
},
|
|
3314
|
+
{
|
|
3315
|
+
"url": "https://api.example.com/orders",
|
|
3316
|
+
"response": {
|
|
3317
|
+
"required": [
|
|
3318
|
+
"orders[0].id",
|
|
3319
|
+
"orders[0].total",
|
|
3320
|
+
"orders[0].items[0].productId"
|
|
3321
|
+
]
|
|
3322
|
+
}
|
|
3323
|
+
},
|
|
3324
|
+
{
|
|
3325
|
+
"url": "https://api.example.com/users",
|
|
3326
|
+
"response": {
|
|
3327
|
+
"required": [
|
|
3328
|
+
"sessionToken",
|
|
3329
|
+
"expiresAt",
|
|
3330
|
+
"user.id"
|
|
3331
|
+
],
|
|
3332
|
+
"body": {
|
|
3333
|
+
"status": "success",
|
|
3334
|
+
"user": {
|
|
3335
|
+
"role": "admin"
|
|
3336
|
+
}
|
|
3337
|
+
}
|
|
3338
|
+
}
|
|
3272
3339
|
}
|
|
3273
3340
|
]
|
|
3274
3341
|
}
|
|
@@ -6767,6 +6834,18 @@
|
|
|
6767
6834
|
}
|
|
6768
6835
|
]
|
|
6769
6836
|
}
|
|
6837
|
+
},
|
|
6838
|
+
"docDetectiveApi": {
|
|
6839
|
+
"type": "object",
|
|
6840
|
+
"description": "Configuration for Doc Detective Orchestration API integration.",
|
|
6841
|
+
"additionalProperties": false,
|
|
6842
|
+
"properties": {
|
|
6843
|
+
"apiKey": {
|
|
6844
|
+
"type": "string",
|
|
6845
|
+
"description": "API key for authenticating with the Doc Detective Orchestration API."
|
|
6846
|
+
}
|
|
6847
|
+
},
|
|
6848
|
+
"title": "Doc Detective Orchestration API"
|
|
6770
6849
|
}
|
|
6771
6850
|
},
|
|
6772
6851
|
"title": "Integrations options"
|
|
@@ -8878,6 +8957,14 @@
|
|
|
8878
8957
|
}
|
|
8879
8958
|
],
|
|
8880
8959
|
"default": {}
|
|
8960
|
+
},
|
|
8961
|
+
"required": {
|
|
8962
|
+
"type": "array",
|
|
8963
|
+
"description": "Array of field paths that must exist in the response body. Uses dot notation for nested fields (e.g., 'user.name') and bracket notation for array indices (e.g., 'items[0].id'). Fields must be present but may have any value including null.",
|
|
8964
|
+
"items": {
|
|
8965
|
+
"type": "string"
|
|
8966
|
+
},
|
|
8967
|
+
"default": []
|
|
8881
8968
|
}
|
|
8882
8969
|
},
|
|
8883
8970
|
"title": "Response"
|
|
@@ -9269,6 +9356,14 @@
|
|
|
9269
9356
|
}
|
|
9270
9357
|
],
|
|
9271
9358
|
"default": {}
|
|
9359
|
+
},
|
|
9360
|
+
"required": {
|
|
9361
|
+
"type": "array",
|
|
9362
|
+
"description": "Array of field paths that must exist in the response body. Uses dot notation for nested fields (e.g., 'user.name') and bracket notation for array indices (e.g., 'items[0].id'). Fields must be present but may have any value including null.",
|
|
9363
|
+
"items": {
|
|
9364
|
+
"type": "string"
|
|
9365
|
+
},
|
|
9366
|
+
"default": []
|
|
9272
9367
|
}
|
|
9273
9368
|
},
|
|
9274
9369
|
"title": "Response"
|
|
@@ -9450,6 +9545,52 @@
|
|
|
9450
9545
|
"request": {
|
|
9451
9546
|
"headers": "Content-Type: application/json\\nAuthorization: Bearer token"
|
|
9452
9547
|
}
|
|
9548
|
+
},
|
|
9549
|
+
{
|
|
9550
|
+
"url": "https://api.example.com/users/123",
|
|
9551
|
+
"response": {
|
|
9552
|
+
"required": [
|
|
9553
|
+
"id",
|
|
9554
|
+
"email",
|
|
9555
|
+
"createdAt"
|
|
9556
|
+
]
|
|
9557
|
+
}
|
|
9558
|
+
},
|
|
9559
|
+
{
|
|
9560
|
+
"url": "https://api.example.com/users/123",
|
|
9561
|
+
"response": {
|
|
9562
|
+
"required": [
|
|
9563
|
+
"user.profile.name",
|
|
9564
|
+
"user.profile.avatar",
|
|
9565
|
+
"user.settings.notifications"
|
|
9566
|
+
]
|
|
9567
|
+
}
|
|
9568
|
+
},
|
|
9569
|
+
{
|
|
9570
|
+
"url": "https://api.example.com/orders",
|
|
9571
|
+
"response": {
|
|
9572
|
+
"required": [
|
|
9573
|
+
"orders[0].id",
|
|
9574
|
+
"orders[0].total",
|
|
9575
|
+
"orders[0].items[0].productId"
|
|
9576
|
+
]
|
|
9577
|
+
}
|
|
9578
|
+
},
|
|
9579
|
+
{
|
|
9580
|
+
"url": "https://api.example.com/users",
|
|
9581
|
+
"response": {
|
|
9582
|
+
"required": [
|
|
9583
|
+
"sessionToken",
|
|
9584
|
+
"expiresAt",
|
|
9585
|
+
"user.id"
|
|
9586
|
+
],
|
|
9587
|
+
"body": {
|
|
9588
|
+
"status": "success",
|
|
9589
|
+
"user": {
|
|
9590
|
+
"role": "admin"
|
|
9591
|
+
}
|
|
9592
|
+
}
|
|
9593
|
+
}
|
|
9453
9594
|
}
|
|
9454
9595
|
]
|
|
9455
9596
|
}
|
|
@@ -12715,6 +12856,16 @@
|
|
|
12715
12856
|
},
|
|
12716
12857
|
{
|
|
12717
12858
|
"debug": "stepThrough"
|
|
12859
|
+
},
|
|
12860
|
+
{
|
|
12861
|
+
"integrations": {
|
|
12862
|
+
"docDetectiveApi": {
|
|
12863
|
+
"apiKey": "your-api-key-here"
|
|
12864
|
+
}
|
|
12865
|
+
}
|
|
12866
|
+
},
|
|
12867
|
+
{
|
|
12868
|
+
"crawl": true
|
|
12718
12869
|
}
|
|
12719
12870
|
]
|
|
12720
12871
|
},
|
|
@@ -15830,6 +15981,14 @@
|
|
|
15830
15981
|
}
|
|
15831
15982
|
],
|
|
15832
15983
|
"default": {}
|
|
15984
|
+
},
|
|
15985
|
+
"required": {
|
|
15986
|
+
"type": "array",
|
|
15987
|
+
"description": "Array of field paths that must exist in the response body. Uses dot notation for nested fields (e.g., 'user.name') and bracket notation for array indices (e.g., 'items[0].id'). Fields must be present but may have any value including null.",
|
|
15988
|
+
"items": {
|
|
15989
|
+
"type": "string"
|
|
15990
|
+
},
|
|
15991
|
+
"default": []
|
|
15833
15992
|
}
|
|
15834
15993
|
},
|
|
15835
15994
|
"title": "Response"
|
|
@@ -16221,6 +16380,14 @@
|
|
|
16221
16380
|
}
|
|
16222
16381
|
],
|
|
16223
16382
|
"default": {}
|
|
16383
|
+
},
|
|
16384
|
+
"required": {
|
|
16385
|
+
"type": "array",
|
|
16386
|
+
"description": "Array of field paths that must exist in the response body. Uses dot notation for nested fields (e.g., 'user.name') and bracket notation for array indices (e.g., 'items[0].id'). Fields must be present but may have any value including null.",
|
|
16387
|
+
"items": {
|
|
16388
|
+
"type": "string"
|
|
16389
|
+
},
|
|
16390
|
+
"default": []
|
|
16224
16391
|
}
|
|
16225
16392
|
},
|
|
16226
16393
|
"title": "Response"
|
|
@@ -16402,6 +16569,52 @@
|
|
|
16402
16569
|
"request": {
|
|
16403
16570
|
"headers": "Content-Type: application/json\\nAuthorization: Bearer token"
|
|
16404
16571
|
}
|
|
16572
|
+
},
|
|
16573
|
+
{
|
|
16574
|
+
"url": "https://api.example.com/users/123",
|
|
16575
|
+
"response": {
|
|
16576
|
+
"required": [
|
|
16577
|
+
"id",
|
|
16578
|
+
"email",
|
|
16579
|
+
"createdAt"
|
|
16580
|
+
]
|
|
16581
|
+
}
|
|
16582
|
+
},
|
|
16583
|
+
{
|
|
16584
|
+
"url": "https://api.example.com/users/123",
|
|
16585
|
+
"response": {
|
|
16586
|
+
"required": [
|
|
16587
|
+
"user.profile.name",
|
|
16588
|
+
"user.profile.avatar",
|
|
16589
|
+
"user.settings.notifications"
|
|
16590
|
+
]
|
|
16591
|
+
}
|
|
16592
|
+
},
|
|
16593
|
+
{
|
|
16594
|
+
"url": "https://api.example.com/orders",
|
|
16595
|
+
"response": {
|
|
16596
|
+
"required": [
|
|
16597
|
+
"orders[0].id",
|
|
16598
|
+
"orders[0].total",
|
|
16599
|
+
"orders[0].items[0].productId"
|
|
16600
|
+
]
|
|
16601
|
+
}
|
|
16602
|
+
},
|
|
16603
|
+
{
|
|
16604
|
+
"url": "https://api.example.com/users",
|
|
16605
|
+
"response": {
|
|
16606
|
+
"required": [
|
|
16607
|
+
"sessionToken",
|
|
16608
|
+
"expiresAt",
|
|
16609
|
+
"user.id"
|
|
16610
|
+
],
|
|
16611
|
+
"body": {
|
|
16612
|
+
"status": "success",
|
|
16613
|
+
"user": {
|
|
16614
|
+
"role": "admin"
|
|
16615
|
+
}
|
|
16616
|
+
}
|
|
16617
|
+
}
|
|
16405
16618
|
}
|
|
16406
16619
|
]
|
|
16407
16620
|
}
|
|
@@ -21592,6 +21805,14 @@
|
|
|
21592
21805
|
}
|
|
21593
21806
|
],
|
|
21594
21807
|
"default": {}
|
|
21808
|
+
},
|
|
21809
|
+
"required": {
|
|
21810
|
+
"type": "array",
|
|
21811
|
+
"description": "Array of field paths that must exist in the response body. Uses dot notation for nested fields (e.g., 'user.name') and bracket notation for array indices (e.g., 'items[0].id'). Fields must be present but may have any value including null.",
|
|
21812
|
+
"items": {
|
|
21813
|
+
"type": "string"
|
|
21814
|
+
},
|
|
21815
|
+
"default": []
|
|
21595
21816
|
}
|
|
21596
21817
|
},
|
|
21597
21818
|
"title": "Response"
|
|
@@ -21983,6 +22204,14 @@
|
|
|
21983
22204
|
}
|
|
21984
22205
|
],
|
|
21985
22206
|
"default": {}
|
|
22207
|
+
},
|
|
22208
|
+
"required": {
|
|
22209
|
+
"type": "array",
|
|
22210
|
+
"description": "Array of field paths that must exist in the response body. Uses dot notation for nested fields (e.g., 'user.name') and bracket notation for array indices (e.g., 'items[0].id'). Fields must be present but may have any value including null.",
|
|
22211
|
+
"items": {
|
|
22212
|
+
"type": "string"
|
|
22213
|
+
},
|
|
22214
|
+
"default": []
|
|
21986
22215
|
}
|
|
21987
22216
|
},
|
|
21988
22217
|
"title": "Response"
|
|
@@ -22164,6 +22393,52 @@
|
|
|
22164
22393
|
"request": {
|
|
22165
22394
|
"headers": "Content-Type: application/json\\nAuthorization: Bearer token"
|
|
22166
22395
|
}
|
|
22396
|
+
},
|
|
22397
|
+
{
|
|
22398
|
+
"url": "https://api.example.com/users/123",
|
|
22399
|
+
"response": {
|
|
22400
|
+
"required": [
|
|
22401
|
+
"id",
|
|
22402
|
+
"email",
|
|
22403
|
+
"createdAt"
|
|
22404
|
+
]
|
|
22405
|
+
}
|
|
22406
|
+
},
|
|
22407
|
+
{
|
|
22408
|
+
"url": "https://api.example.com/users/123",
|
|
22409
|
+
"response": {
|
|
22410
|
+
"required": [
|
|
22411
|
+
"user.profile.name",
|
|
22412
|
+
"user.profile.avatar",
|
|
22413
|
+
"user.settings.notifications"
|
|
22414
|
+
]
|
|
22415
|
+
}
|
|
22416
|
+
},
|
|
22417
|
+
{
|
|
22418
|
+
"url": "https://api.example.com/orders",
|
|
22419
|
+
"response": {
|
|
22420
|
+
"required": [
|
|
22421
|
+
"orders[0].id",
|
|
22422
|
+
"orders[0].total",
|
|
22423
|
+
"orders[0].items[0].productId"
|
|
22424
|
+
]
|
|
22425
|
+
}
|
|
22426
|
+
},
|
|
22427
|
+
{
|
|
22428
|
+
"url": "https://api.example.com/users",
|
|
22429
|
+
"response": {
|
|
22430
|
+
"required": [
|
|
22431
|
+
"sessionToken",
|
|
22432
|
+
"expiresAt",
|
|
22433
|
+
"user.id"
|
|
22434
|
+
],
|
|
22435
|
+
"body": {
|
|
22436
|
+
"status": "success",
|
|
22437
|
+
"user": {
|
|
22438
|
+
"role": "admin"
|
|
22439
|
+
}
|
|
22440
|
+
}
|
|
22441
|
+
}
|
|
22167
22442
|
}
|
|
22168
22443
|
]
|
|
22169
22444
|
}
|
|
@@ -3104,6 +3104,14 @@
|
|
|
3104
3104
|
}
|
|
3105
3105
|
],
|
|
3106
3106
|
"default": {}
|
|
3107
|
+
},
|
|
3108
|
+
"required": {
|
|
3109
|
+
"type": "array",
|
|
3110
|
+
"description": "Array of field paths that must exist in the response body. Uses dot notation for nested fields (e.g., 'user.name') and bracket notation for array indices (e.g., 'items[0].id'). Fields must be present but may have any value including null.",
|
|
3111
|
+
"items": {
|
|
3112
|
+
"type": "string"
|
|
3113
|
+
},
|
|
3114
|
+
"default": []
|
|
3107
3115
|
}
|
|
3108
3116
|
},
|
|
3109
3117
|
"title": "Response"
|
|
@@ -3495,6 +3503,14 @@
|
|
|
3495
3503
|
}
|
|
3496
3504
|
],
|
|
3497
3505
|
"default": {}
|
|
3506
|
+
},
|
|
3507
|
+
"required": {
|
|
3508
|
+
"type": "array",
|
|
3509
|
+
"description": "Array of field paths that must exist in the response body. Uses dot notation for nested fields (e.g., 'user.name') and bracket notation for array indices (e.g., 'items[0].id'). Fields must be present but may have any value including null.",
|
|
3510
|
+
"items": {
|
|
3511
|
+
"type": "string"
|
|
3512
|
+
},
|
|
3513
|
+
"default": []
|
|
3498
3514
|
}
|
|
3499
3515
|
},
|
|
3500
3516
|
"title": "Response"
|
|
@@ -3676,6 +3692,52 @@
|
|
|
3676
3692
|
"request": {
|
|
3677
3693
|
"headers": "Content-Type: application/json\\nAuthorization: Bearer token"
|
|
3678
3694
|
}
|
|
3695
|
+
},
|
|
3696
|
+
{
|
|
3697
|
+
"url": "https://api.example.com/users/123",
|
|
3698
|
+
"response": {
|
|
3699
|
+
"required": [
|
|
3700
|
+
"id",
|
|
3701
|
+
"email",
|
|
3702
|
+
"createdAt"
|
|
3703
|
+
]
|
|
3704
|
+
}
|
|
3705
|
+
},
|
|
3706
|
+
{
|
|
3707
|
+
"url": "https://api.example.com/users/123",
|
|
3708
|
+
"response": {
|
|
3709
|
+
"required": [
|
|
3710
|
+
"user.profile.name",
|
|
3711
|
+
"user.profile.avatar",
|
|
3712
|
+
"user.settings.notifications"
|
|
3713
|
+
]
|
|
3714
|
+
}
|
|
3715
|
+
},
|
|
3716
|
+
{
|
|
3717
|
+
"url": "https://api.example.com/orders",
|
|
3718
|
+
"response": {
|
|
3719
|
+
"required": [
|
|
3720
|
+
"orders[0].id",
|
|
3721
|
+
"orders[0].total",
|
|
3722
|
+
"orders[0].items[0].productId"
|
|
3723
|
+
]
|
|
3724
|
+
}
|
|
3725
|
+
},
|
|
3726
|
+
{
|
|
3727
|
+
"url": "https://api.example.com/users",
|
|
3728
|
+
"response": {
|
|
3729
|
+
"required": [
|
|
3730
|
+
"sessionToken",
|
|
3731
|
+
"expiresAt",
|
|
3732
|
+
"user.id"
|
|
3733
|
+
],
|
|
3734
|
+
"body": {
|
|
3735
|
+
"status": "success",
|
|
3736
|
+
"user": {
|
|
3737
|
+
"role": "admin"
|
|
3738
|
+
}
|
|
3739
|
+
}
|
|
3740
|
+
}
|
|
3679
3741
|
}
|
|
3680
3742
|
]
|
|
3681
3743
|
}
|
|
@@ -8866,6 +8928,14 @@
|
|
|
8866
8928
|
}
|
|
8867
8929
|
],
|
|
8868
8930
|
"default": {}
|
|
8931
|
+
},
|
|
8932
|
+
"required": {
|
|
8933
|
+
"type": "array",
|
|
8934
|
+
"description": "Array of field paths that must exist in the response body. Uses dot notation for nested fields (e.g., 'user.name') and bracket notation for array indices (e.g., 'items[0].id'). Fields must be present but may have any value including null.",
|
|
8935
|
+
"items": {
|
|
8936
|
+
"type": "string"
|
|
8937
|
+
},
|
|
8938
|
+
"default": []
|
|
8869
8939
|
}
|
|
8870
8940
|
},
|
|
8871
8941
|
"title": "Response"
|
|
@@ -9257,6 +9327,14 @@
|
|
|
9257
9327
|
}
|
|
9258
9328
|
],
|
|
9259
9329
|
"default": {}
|
|
9330
|
+
},
|
|
9331
|
+
"required": {
|
|
9332
|
+
"type": "array",
|
|
9333
|
+
"description": "Array of field paths that must exist in the response body. Uses dot notation for nested fields (e.g., 'user.name') and bracket notation for array indices (e.g., 'items[0].id'). Fields must be present but may have any value including null.",
|
|
9334
|
+
"items": {
|
|
9335
|
+
"type": "string"
|
|
9336
|
+
},
|
|
9337
|
+
"default": []
|
|
9260
9338
|
}
|
|
9261
9339
|
},
|
|
9262
9340
|
"title": "Response"
|
|
@@ -9438,6 +9516,52 @@
|
|
|
9438
9516
|
"request": {
|
|
9439
9517
|
"headers": "Content-Type: application/json\\nAuthorization: Bearer token"
|
|
9440
9518
|
}
|
|
9519
|
+
},
|
|
9520
|
+
{
|
|
9521
|
+
"url": "https://api.example.com/users/123",
|
|
9522
|
+
"response": {
|
|
9523
|
+
"required": [
|
|
9524
|
+
"id",
|
|
9525
|
+
"email",
|
|
9526
|
+
"createdAt"
|
|
9527
|
+
]
|
|
9528
|
+
}
|
|
9529
|
+
},
|
|
9530
|
+
{
|
|
9531
|
+
"url": "https://api.example.com/users/123",
|
|
9532
|
+
"response": {
|
|
9533
|
+
"required": [
|
|
9534
|
+
"user.profile.name",
|
|
9535
|
+
"user.profile.avatar",
|
|
9536
|
+
"user.settings.notifications"
|
|
9537
|
+
]
|
|
9538
|
+
}
|
|
9539
|
+
},
|
|
9540
|
+
{
|
|
9541
|
+
"url": "https://api.example.com/orders",
|
|
9542
|
+
"response": {
|
|
9543
|
+
"required": [
|
|
9544
|
+
"orders[0].id",
|
|
9545
|
+
"orders[0].total",
|
|
9546
|
+
"orders[0].items[0].productId"
|
|
9547
|
+
]
|
|
9548
|
+
}
|
|
9549
|
+
},
|
|
9550
|
+
{
|
|
9551
|
+
"url": "https://api.example.com/users",
|
|
9552
|
+
"response": {
|
|
9553
|
+
"required": [
|
|
9554
|
+
"sessionToken",
|
|
9555
|
+
"expiresAt",
|
|
9556
|
+
"user.id"
|
|
9557
|
+
],
|
|
9558
|
+
"body": {
|
|
9559
|
+
"status": "success",
|
|
9560
|
+
"user": {
|
|
9561
|
+
"role": "admin"
|
|
9562
|
+
}
|
|
9563
|
+
}
|
|
9564
|
+
}
|
|
9441
9565
|
}
|
|
9442
9566
|
]
|
|
9443
9567
|
}
|
|
@@ -1904,6 +1904,14 @@
|
|
|
1904
1904
|
}
|
|
1905
1905
|
],
|
|
1906
1906
|
"default": {}
|
|
1907
|
+
},
|
|
1908
|
+
"required": {
|
|
1909
|
+
"type": "array",
|
|
1910
|
+
"description": "Array of field paths that must exist in the response body. Uses dot notation for nested fields (e.g., 'user.name') and bracket notation for array indices (e.g., 'items[0].id'). Fields must be present but may have any value including null.",
|
|
1911
|
+
"items": {
|
|
1912
|
+
"type": "string"
|
|
1913
|
+
},
|
|
1914
|
+
"default": []
|
|
1907
1915
|
}
|
|
1908
1916
|
},
|
|
1909
1917
|
"title": "Response"
|
|
@@ -2295,6 +2303,14 @@
|
|
|
2295
2303
|
}
|
|
2296
2304
|
],
|
|
2297
2305
|
"default": {}
|
|
2306
|
+
},
|
|
2307
|
+
"required": {
|
|
2308
|
+
"type": "array",
|
|
2309
|
+
"description": "Array of field paths that must exist in the response body. Uses dot notation for nested fields (e.g., 'user.name') and bracket notation for array indices (e.g., 'items[0].id'). Fields must be present but may have any value including null.",
|
|
2310
|
+
"items": {
|
|
2311
|
+
"type": "string"
|
|
2312
|
+
},
|
|
2313
|
+
"default": []
|
|
2298
2314
|
}
|
|
2299
2315
|
},
|
|
2300
2316
|
"title": "Response"
|
|
@@ -2476,6 +2492,52 @@
|
|
|
2476
2492
|
"request": {
|
|
2477
2493
|
"headers": "Content-Type: application/json\\nAuthorization: Bearer token"
|
|
2478
2494
|
}
|
|
2495
|
+
},
|
|
2496
|
+
{
|
|
2497
|
+
"url": "https://api.example.com/users/123",
|
|
2498
|
+
"response": {
|
|
2499
|
+
"required": [
|
|
2500
|
+
"id",
|
|
2501
|
+
"email",
|
|
2502
|
+
"createdAt"
|
|
2503
|
+
]
|
|
2504
|
+
}
|
|
2505
|
+
},
|
|
2506
|
+
{
|
|
2507
|
+
"url": "https://api.example.com/users/123",
|
|
2508
|
+
"response": {
|
|
2509
|
+
"required": [
|
|
2510
|
+
"user.profile.name",
|
|
2511
|
+
"user.profile.avatar",
|
|
2512
|
+
"user.settings.notifications"
|
|
2513
|
+
]
|
|
2514
|
+
}
|
|
2515
|
+
},
|
|
2516
|
+
{
|
|
2517
|
+
"url": "https://api.example.com/orders",
|
|
2518
|
+
"response": {
|
|
2519
|
+
"required": [
|
|
2520
|
+
"orders[0].id",
|
|
2521
|
+
"orders[0].total",
|
|
2522
|
+
"orders[0].items[0].productId"
|
|
2523
|
+
]
|
|
2524
|
+
}
|
|
2525
|
+
},
|
|
2526
|
+
{
|
|
2527
|
+
"url": "https://api.example.com/users",
|
|
2528
|
+
"response": {
|
|
2529
|
+
"required": [
|
|
2530
|
+
"sessionToken",
|
|
2531
|
+
"expiresAt",
|
|
2532
|
+
"user.id"
|
|
2533
|
+
],
|
|
2534
|
+
"body": {
|
|
2535
|
+
"status": "success",
|
|
2536
|
+
"user": {
|
|
2537
|
+
"role": "admin"
|
|
2538
|
+
}
|
|
2539
|
+
}
|
|
2540
|
+
}
|
|
2479
2541
|
}
|
|
2480
2542
|
]
|
|
2481
2543
|
}
|