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.
@@ -3122,6 +3122,14 @@
3122
3122
  }
3123
3123
  ],
3124
3124
  "default": {}
3125
+ },
3126
+ "required": {
3127
+ "type": "array",
3128
+ "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.",
3129
+ "items": {
3130
+ "type": "string"
3131
+ },
3132
+ "default": []
3125
3133
  }
3126
3134
  },
3127
3135
  "title": "Response"
@@ -3513,6 +3521,14 @@
3513
3521
  }
3514
3522
  ],
3515
3523
  "default": {}
3524
+ },
3525
+ "required": {
3526
+ "type": "array",
3527
+ "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.",
3528
+ "items": {
3529
+ "type": "string"
3530
+ },
3531
+ "default": []
3516
3532
  }
3517
3533
  },
3518
3534
  "title": "Response"
@@ -3694,6 +3710,52 @@
3694
3710
  "request": {
3695
3711
  "headers": "Content-Type: application/json\\nAuthorization: Bearer token"
3696
3712
  }
3713
+ },
3714
+ {
3715
+ "url": "https://api.example.com/users/123",
3716
+ "response": {
3717
+ "required": [
3718
+ "id",
3719
+ "email",
3720
+ "createdAt"
3721
+ ]
3722
+ }
3723
+ },
3724
+ {
3725
+ "url": "https://api.example.com/users/123",
3726
+ "response": {
3727
+ "required": [
3728
+ "user.profile.name",
3729
+ "user.profile.avatar",
3730
+ "user.settings.notifications"
3731
+ ]
3732
+ }
3733
+ },
3734
+ {
3735
+ "url": "https://api.example.com/orders",
3736
+ "response": {
3737
+ "required": [
3738
+ "orders[0].id",
3739
+ "orders[0].total",
3740
+ "orders[0].items[0].productId"
3741
+ ]
3742
+ }
3743
+ },
3744
+ {
3745
+ "url": "https://api.example.com/users",
3746
+ "response": {
3747
+ "required": [
3748
+ "sessionToken",
3749
+ "expiresAt",
3750
+ "user.id"
3751
+ ],
3752
+ "body": {
3753
+ "status": "success",
3754
+ "user": {
3755
+ "role": "admin"
3756
+ }
3757
+ }
3758
+ }
3697
3759
  }
3698
3760
  ]
3699
3761
  }
@@ -8884,6 +8946,14 @@
8884
8946
  }
8885
8947
  ],
8886
8948
  "default": {}
8949
+ },
8950
+ "required": {
8951
+ "type": "array",
8952
+ "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.",
8953
+ "items": {
8954
+ "type": "string"
8955
+ },
8956
+ "default": []
8887
8957
  }
8888
8958
  },
8889
8959
  "title": "Response"
@@ -9275,6 +9345,14 @@
9275
9345
  }
9276
9346
  ],
9277
9347
  "default": {}
9348
+ },
9349
+ "required": {
9350
+ "type": "array",
9351
+ "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.",
9352
+ "items": {
9353
+ "type": "string"
9354
+ },
9355
+ "default": []
9278
9356
  }
9279
9357
  },
9280
9358
  "title": "Response"
@@ -9456,6 +9534,52 @@
9456
9534
  "request": {
9457
9535
  "headers": "Content-Type: application/json\\nAuthorization: Bearer token"
9458
9536
  }
9537
+ },
9538
+ {
9539
+ "url": "https://api.example.com/users/123",
9540
+ "response": {
9541
+ "required": [
9542
+ "id",
9543
+ "email",
9544
+ "createdAt"
9545
+ ]
9546
+ }
9547
+ },
9548
+ {
9549
+ "url": "https://api.example.com/users/123",
9550
+ "response": {
9551
+ "required": [
9552
+ "user.profile.name",
9553
+ "user.profile.avatar",
9554
+ "user.settings.notifications"
9555
+ ]
9556
+ }
9557
+ },
9558
+ {
9559
+ "url": "https://api.example.com/orders",
9560
+ "response": {
9561
+ "required": [
9562
+ "orders[0].id",
9563
+ "orders[0].total",
9564
+ "orders[0].items[0].productId"
9565
+ ]
9566
+ }
9567
+ },
9568
+ {
9569
+ "url": "https://api.example.com/users",
9570
+ "response": {
9571
+ "required": [
9572
+ "sessionToken",
9573
+ "expiresAt",
9574
+ "user.id"
9575
+ ],
9576
+ "body": {
9577
+ "status": "success",
9578
+ "user": {
9579
+ "role": "admin"
9580
+ }
9581
+ }
9582
+ }
9459
9583
  }
9460
9584
  ]
9461
9585
  }
@@ -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
  }