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.
@@ -121,6 +121,11 @@
121
121
  "type": "boolean",
122
122
  "description": "Whether or not to run potentially unsafe steps, such as those that might modify files or system state."
123
123
  },
124
+ "crawl": {
125
+ "description": "If `true`, crawls sitemap.xml files specified by URL to find additional files to test.",
126
+ "type": "boolean",
127
+ "default": false
128
+ },
124
129
  "processDitaMaps": {
125
130
  "description": "If `true`, processes DITA maps and includes generated files as inputs.",
126
131
  "type": "boolean",
@@ -2684,6 +2689,14 @@
2684
2689
  }
2685
2690
  ],
2686
2691
  "default": {}
2692
+ },
2693
+ "required": {
2694
+ "type": "array",
2695
+ "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.",
2696
+ "items": {
2697
+ "type": "string"
2698
+ },
2699
+ "default": []
2687
2700
  }
2688
2701
  },
2689
2702
  "title": "Response"
@@ -3075,6 +3088,14 @@
3075
3088
  }
3076
3089
  ],
3077
3090
  "default": {}
3091
+ },
3092
+ "required": {
3093
+ "type": "array",
3094
+ "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.",
3095
+ "items": {
3096
+ "type": "string"
3097
+ },
3098
+ "default": []
3078
3099
  }
3079
3100
  },
3080
3101
  "title": "Response"
@@ -3256,6 +3277,52 @@
3256
3277
  "request": {
3257
3278
  "headers": "Content-Type: application/json\\nAuthorization: Bearer token"
3258
3279
  }
3280
+ },
3281
+ {
3282
+ "url": "https://api.example.com/users/123",
3283
+ "response": {
3284
+ "required": [
3285
+ "id",
3286
+ "email",
3287
+ "createdAt"
3288
+ ]
3289
+ }
3290
+ },
3291
+ {
3292
+ "url": "https://api.example.com/users/123",
3293
+ "response": {
3294
+ "required": [
3295
+ "user.profile.name",
3296
+ "user.profile.avatar",
3297
+ "user.settings.notifications"
3298
+ ]
3299
+ }
3300
+ },
3301
+ {
3302
+ "url": "https://api.example.com/orders",
3303
+ "response": {
3304
+ "required": [
3305
+ "orders[0].id",
3306
+ "orders[0].total",
3307
+ "orders[0].items[0].productId"
3308
+ ]
3309
+ }
3310
+ },
3311
+ {
3312
+ "url": "https://api.example.com/users",
3313
+ "response": {
3314
+ "required": [
3315
+ "sessionToken",
3316
+ "expiresAt",
3317
+ "user.id"
3318
+ ],
3319
+ "body": {
3320
+ "status": "success",
3321
+ "user": {
3322
+ "role": "admin"
3323
+ }
3324
+ }
3325
+ }
3259
3326
  }
3260
3327
  ]
3261
3328
  }
@@ -6754,6 +6821,18 @@
6754
6821
  }
6755
6822
  ]
6756
6823
  }
6824
+ },
6825
+ "docDetectiveApi": {
6826
+ "type": "object",
6827
+ "description": "Configuration for Doc Detective Orchestration API integration.",
6828
+ "additionalProperties": false,
6829
+ "properties": {
6830
+ "apiKey": {
6831
+ "type": "string",
6832
+ "description": "API key for authenticating with the Doc Detective Orchestration API."
6833
+ }
6834
+ },
6835
+ "title": "Doc Detective Orchestration API"
6757
6836
  }
6758
6837
  },
6759
6838
  "title": "Integrations options"
@@ -8865,6 +8944,14 @@
8865
8944
  }
8866
8945
  ],
8867
8946
  "default": {}
8947
+ },
8948
+ "required": {
8949
+ "type": "array",
8950
+ "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.",
8951
+ "items": {
8952
+ "type": "string"
8953
+ },
8954
+ "default": []
8868
8955
  }
8869
8956
  },
8870
8957
  "title": "Response"
@@ -9256,6 +9343,14 @@
9256
9343
  }
9257
9344
  ],
9258
9345
  "default": {}
9346
+ },
9347
+ "required": {
9348
+ "type": "array",
9349
+ "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.",
9350
+ "items": {
9351
+ "type": "string"
9352
+ },
9353
+ "default": []
9259
9354
  }
9260
9355
  },
9261
9356
  "title": "Response"
@@ -9437,6 +9532,52 @@
9437
9532
  "request": {
9438
9533
  "headers": "Content-Type: application/json\\nAuthorization: Bearer token"
9439
9534
  }
9535
+ },
9536
+ {
9537
+ "url": "https://api.example.com/users/123",
9538
+ "response": {
9539
+ "required": [
9540
+ "id",
9541
+ "email",
9542
+ "createdAt"
9543
+ ]
9544
+ }
9545
+ },
9546
+ {
9547
+ "url": "https://api.example.com/users/123",
9548
+ "response": {
9549
+ "required": [
9550
+ "user.profile.name",
9551
+ "user.profile.avatar",
9552
+ "user.settings.notifications"
9553
+ ]
9554
+ }
9555
+ },
9556
+ {
9557
+ "url": "https://api.example.com/orders",
9558
+ "response": {
9559
+ "required": [
9560
+ "orders[0].id",
9561
+ "orders[0].total",
9562
+ "orders[0].items[0].productId"
9563
+ ]
9564
+ }
9565
+ },
9566
+ {
9567
+ "url": "https://api.example.com/users",
9568
+ "response": {
9569
+ "required": [
9570
+ "sessionToken",
9571
+ "expiresAt",
9572
+ "user.id"
9573
+ ],
9574
+ "body": {
9575
+ "status": "success",
9576
+ "user": {
9577
+ "role": "admin"
9578
+ }
9579
+ }
9580
+ }
9440
9581
  }
9441
9582
  ]
9442
9583
  }
@@ -12702,6 +12843,16 @@
12702
12843
  },
12703
12844
  {
12704
12845
  "debug": "stepThrough"
12846
+ },
12847
+ {
12848
+ "integrations": {
12849
+ "docDetectiveApi": {
12850
+ "apiKey": "your-api-key-here"
12851
+ }
12852
+ }
12853
+ },
12854
+ {
12855
+ "crawl": true
12705
12856
  }
12706
12857
  ]
12707
12858
  }
@@ -355,6 +355,14 @@
355
355
  }
356
356
  ],
357
357
  "default": {}
358
+ },
359
+ "required": {
360
+ "type": "array",
361
+ "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.",
362
+ "items": {
363
+ "type": "string"
364
+ },
365
+ "default": []
358
366
  }
359
367
  },
360
368
  "title": "Response"
@@ -746,6 +754,14 @@
746
754
  }
747
755
  ],
748
756
  "default": {}
757
+ },
758
+ "required": {
759
+ "type": "array",
760
+ "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.",
761
+ "items": {
762
+ "type": "string"
763
+ },
764
+ "default": []
749
765
  }
750
766
  },
751
767
  "title": "Response"
@@ -927,6 +943,52 @@
927
943
  "request": {
928
944
  "headers": "Content-Type: application/json\\nAuthorization: Bearer token"
929
945
  }
946
+ },
947
+ {
948
+ "url": "https://api.example.com/users/123",
949
+ "response": {
950
+ "required": [
951
+ "id",
952
+ "email",
953
+ "createdAt"
954
+ ]
955
+ }
956
+ },
957
+ {
958
+ "url": "https://api.example.com/users/123",
959
+ "response": {
960
+ "required": [
961
+ "user.profile.name",
962
+ "user.profile.avatar",
963
+ "user.settings.notifications"
964
+ ]
965
+ }
966
+ },
967
+ {
968
+ "url": "https://api.example.com/orders",
969
+ "response": {
970
+ "required": [
971
+ "orders[0].id",
972
+ "orders[0].total",
973
+ "orders[0].items[0].productId"
974
+ ]
975
+ }
976
+ },
977
+ {
978
+ "url": "https://api.example.com/users",
979
+ "response": {
980
+ "required": [
981
+ "sessionToken",
982
+ "expiresAt",
983
+ "user.id"
984
+ ],
985
+ "body": {
986
+ "status": "success",
987
+ "user": {
988
+ "role": "admin"
989
+ }
990
+ }
991
+ }
930
992
  }
931
993
  ]
932
994
  }
@@ -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
  }