schemathesis 4.0.0a10__py3-none-any.whl → 4.0.0a11__py3-none-any.whl
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.
- schemathesis/__init__.py +3 -7
- schemathesis/checks.py +17 -7
- schemathesis/cli/commands/__init__.py +51 -3
- schemathesis/cli/commands/data.py +10 -0
- schemathesis/cli/commands/run/__init__.py +147 -260
- schemathesis/cli/commands/run/context.py +2 -3
- schemathesis/cli/commands/run/events.py +4 -0
- schemathesis/cli/commands/run/executor.py +60 -73
- schemathesis/cli/commands/run/filters.py +15 -165
- schemathesis/cli/commands/run/handlers/cassettes.py +105 -104
- schemathesis/cli/commands/run/handlers/junitxml.py +5 -4
- schemathesis/cli/commands/run/handlers/output.py +26 -47
- schemathesis/cli/commands/run/loaders.py +35 -50
- schemathesis/cli/commands/run/validation.py +36 -161
- schemathesis/cli/core.py +5 -3
- schemathesis/cli/ext/fs.py +7 -5
- schemathesis/cli/ext/options.py +0 -21
- schemathesis/config/__init__.py +188 -0
- schemathesis/config/_auth.py +51 -0
- schemathesis/config/_checks.py +268 -0
- schemathesis/config/_diff_base.py +99 -0
- schemathesis/config/_env.py +21 -0
- schemathesis/config/_error.py +156 -0
- schemathesis/config/_generation.py +150 -0
- schemathesis/config/_health_check.py +24 -0
- schemathesis/config/_operations.py +313 -0
- schemathesis/config/_output.py +171 -0
- schemathesis/config/_parameters.py +19 -0
- schemathesis/config/_phases.py +151 -0
- schemathesis/config/_projects.py +495 -0
- schemathesis/config/_rate_limit.py +17 -0
- schemathesis/config/_report.py +116 -0
- schemathesis/config/_validator.py +9 -0
- schemathesis/config/schema.json +837 -0
- schemathesis/core/__init__.py +2 -0
- schemathesis/core/compat.py +16 -9
- schemathesis/core/errors.py +19 -2
- schemathesis/core/failures.py +6 -7
- schemathesis/core/hooks.py +20 -0
- schemathesis/core/output/__init__.py +14 -37
- schemathesis/core/output/sanitization.py +3 -146
- schemathesis/core/validation.py +16 -0
- schemathesis/engine/__init__.py +2 -4
- schemathesis/engine/context.py +41 -43
- schemathesis/engine/core.py +7 -5
- schemathesis/engine/phases/__init__.py +10 -0
- schemathesis/engine/phases/probes.py +8 -8
- schemathesis/engine/phases/stateful/_executor.py +68 -43
- schemathesis/engine/phases/unit/__init__.py +23 -15
- schemathesis/engine/phases/unit/_executor.py +77 -17
- schemathesis/engine/phases/unit/_pool.py +1 -1
- schemathesis/errors.py +2 -0
- schemathesis/filters.py +2 -3
- schemathesis/generation/__init__.py +6 -31
- schemathesis/generation/case.py +5 -3
- schemathesis/generation/coverage.py +153 -123
- schemathesis/generation/hypothesis/builder.py +40 -14
- schemathesis/generation/meta.py +3 -3
- schemathesis/generation/overrides.py +37 -1
- schemathesis/generation/stateful/state_machine.py +8 -1
- schemathesis/graphql/loaders.py +21 -12
- schemathesis/openapi/checks.py +12 -8
- schemathesis/openapi/generation/filters.py +10 -8
- schemathesis/openapi/loaders.py +22 -13
- schemathesis/pytest/lazy.py +2 -5
- schemathesis/pytest/plugin.py +11 -2
- schemathesis/schemas.py +13 -61
- schemathesis/specs/graphql/schemas.py +11 -15
- schemathesis/specs/openapi/_hypothesis.py +12 -8
- schemathesis/specs/openapi/checks.py +16 -18
- schemathesis/specs/openapi/examples.py +4 -3
- schemathesis/specs/openapi/formats.py +2 -2
- schemathesis/specs/openapi/negative/__init__.py +2 -2
- schemathesis/specs/openapi/patterns.py +46 -16
- schemathesis/specs/openapi/references.py +2 -3
- schemathesis/specs/openapi/schemas.py +11 -20
- schemathesis/specs/openapi/stateful/__init__.py +10 -5
- schemathesis/transport/prepare.py +7 -6
- schemathesis/transport/requests.py +3 -1
- schemathesis/transport/wsgi.py +3 -4
- {schemathesis-4.0.0a10.dist-info → schemathesis-4.0.0a11.dist-info}/METADATA +7 -8
- schemathesis-4.0.0a11.dist-info/RECORD +166 -0
- schemathesis/cli/commands/run/checks.py +0 -79
- schemathesis/cli/commands/run/hypothesis.py +0 -78
- schemathesis/cli/commands/run/reports.py +0 -72
- schemathesis/cli/hooks.py +0 -36
- schemathesis/engine/config.py +0 -59
- schemathesis/experimental/__init__.py +0 -72
- schemathesis-4.0.0a10.dist-info/RECORD +0 -153
- {schemathesis-4.0.0a10.dist-info → schemathesis-4.0.0a11.dist-info}/WHEEL +0 -0
- {schemathesis-4.0.0a10.dist-info → schemathesis-4.0.0a11.dist-info}/entry_points.txt +0 -0
- {schemathesis-4.0.0a10.dist-info → schemathesis-4.0.0a11.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,837 @@
|
|
1
|
+
{
|
2
|
+
"type": "object",
|
3
|
+
"additionalProperties": false,
|
4
|
+
"properties": {
|
5
|
+
"color": {
|
6
|
+
"description": "Controls ANSI color output in the CLI. Schemathesis auto-detects color support by default. Set to true to force color output or false to disable it.",
|
7
|
+
"type": "boolean"
|
8
|
+
},
|
9
|
+
"suppress-health-check": {
|
10
|
+
"description": "Specifies a list of health checks to disable during test execution.",
|
11
|
+
"type": "array",
|
12
|
+
"uniqueItems": true,
|
13
|
+
"items": {
|
14
|
+
"enum": [
|
15
|
+
"data_too_large",
|
16
|
+
"filter_too_much",
|
17
|
+
"too_slow",
|
18
|
+
"large_base_example",
|
19
|
+
"all"
|
20
|
+
]
|
21
|
+
}
|
22
|
+
},
|
23
|
+
"seed": {
|
24
|
+
"type": "integer"
|
25
|
+
},
|
26
|
+
"max-failures": {
|
27
|
+
"type": "integer",
|
28
|
+
"minimum": 1
|
29
|
+
},
|
30
|
+
"reports": {
|
31
|
+
"type": "object",
|
32
|
+
"additionalProperties": false,
|
33
|
+
"properties": {
|
34
|
+
"directory": {
|
35
|
+
"type": "string"
|
36
|
+
},
|
37
|
+
"preserve-bytes": {
|
38
|
+
"type": "boolean"
|
39
|
+
},
|
40
|
+
"junit": {
|
41
|
+
"$ref": "#/$defs/ReportConfig"
|
42
|
+
},
|
43
|
+
"har": {
|
44
|
+
"$ref": "#/$defs/ReportConfig"
|
45
|
+
},
|
46
|
+
"vcr": {
|
47
|
+
"$ref": "#/$defs/ReportConfig"
|
48
|
+
}
|
49
|
+
}
|
50
|
+
},
|
51
|
+
"output": {
|
52
|
+
"$ref": "#/$defs/OutputConfig"
|
53
|
+
},
|
54
|
+
"base-url": {
|
55
|
+
"type": "string"
|
56
|
+
},
|
57
|
+
"parameters": {
|
58
|
+
"type": "object"
|
59
|
+
},
|
60
|
+
"generation": {
|
61
|
+
"$ref": "#/$defs/GenerationConfig"
|
62
|
+
},
|
63
|
+
"checks": {
|
64
|
+
"$ref": "#/$defs/ChecksConfig"
|
65
|
+
},
|
66
|
+
"phases": {
|
67
|
+
"$ref": "#/$defs/PhasesConfig"
|
68
|
+
},
|
69
|
+
"auth": {
|
70
|
+
"$ref": "#/$defs/AuthConfig"
|
71
|
+
},
|
72
|
+
"operations": {
|
73
|
+
"type": "array",
|
74
|
+
"items": {
|
75
|
+
"$ref": "#/$defs/OperationConfig"
|
76
|
+
}
|
77
|
+
},
|
78
|
+
"project": {
|
79
|
+
"type": "array",
|
80
|
+
"items": {
|
81
|
+
"$ref": "#/$defs/ProjectConfig"
|
82
|
+
}
|
83
|
+
},
|
84
|
+
"headers": {
|
85
|
+
"additionalProperties": {
|
86
|
+
"type": "string"
|
87
|
+
},
|
88
|
+
"type": "object"
|
89
|
+
},
|
90
|
+
"hooks": {
|
91
|
+
"type": "string"
|
92
|
+
},
|
93
|
+
"proxy": {
|
94
|
+
"type": "string"
|
95
|
+
},
|
96
|
+
"workers": {
|
97
|
+
"type": "integer"
|
98
|
+
},
|
99
|
+
"wait-for-schema": {
|
100
|
+
"type": "number",
|
101
|
+
"minimum": 1
|
102
|
+
},
|
103
|
+
"continue-on-failure": {
|
104
|
+
"type": "boolean"
|
105
|
+
},
|
106
|
+
"tls-verify": {
|
107
|
+
"type": [
|
108
|
+
"boolean",
|
109
|
+
"string"
|
110
|
+
]
|
111
|
+
},
|
112
|
+
"rate-limit": {
|
113
|
+
"type": "string"
|
114
|
+
},
|
115
|
+
"request-timeout": {
|
116
|
+
"type": "number",
|
117
|
+
"minimum": 0
|
118
|
+
},
|
119
|
+
"request-cert": {
|
120
|
+
"type": "string"
|
121
|
+
},
|
122
|
+
"request-cert-key": {
|
123
|
+
"type": "string"
|
124
|
+
}
|
125
|
+
},
|
126
|
+
"$defs": {
|
127
|
+
"ReportConfig": {
|
128
|
+
"type": "object",
|
129
|
+
"additionalProperties": false,
|
130
|
+
"properties": {
|
131
|
+
"enabled": {
|
132
|
+
"type": "boolean"
|
133
|
+
},
|
134
|
+
"path": {
|
135
|
+
"type": "string"
|
136
|
+
}
|
137
|
+
}
|
138
|
+
},
|
139
|
+
"AuthConfig": {
|
140
|
+
"type": "object",
|
141
|
+
"additionalProperties": false,
|
142
|
+
"properties": {
|
143
|
+
"basic": {
|
144
|
+
"type": "object",
|
145
|
+
"properties": {
|
146
|
+
"username": {
|
147
|
+
"type": "string"
|
148
|
+
},
|
149
|
+
"password": {
|
150
|
+
"type": "string"
|
151
|
+
}
|
152
|
+
},
|
153
|
+
"required": [
|
154
|
+
"username",
|
155
|
+
"password"
|
156
|
+
],
|
157
|
+
"additionalProperties": false
|
158
|
+
}
|
159
|
+
}
|
160
|
+
},
|
161
|
+
"ChecksConfig": {
|
162
|
+
"type": "object",
|
163
|
+
"additionalProperties": false,
|
164
|
+
"properties": {
|
165
|
+
"enabled": {
|
166
|
+
"type": "boolean"
|
167
|
+
},
|
168
|
+
"not_a_server_error": {
|
169
|
+
"$ref": "#/$defs/CheckConfig"
|
170
|
+
},
|
171
|
+
"status_code_conformance": {
|
172
|
+
"$ref": "#/$defs/SimpleCheckConfig"
|
173
|
+
},
|
174
|
+
"content_type_conformance": {
|
175
|
+
"$ref": "#/$defs/SimpleCheckConfig"
|
176
|
+
},
|
177
|
+
"response_schema_conformance": {
|
178
|
+
"$ref": "#/$defs/SimpleCheckConfig"
|
179
|
+
},
|
180
|
+
"response_headers_conformance": {
|
181
|
+
"$ref": "#/$defs/SimpleCheckConfig"
|
182
|
+
},
|
183
|
+
"positive_data_acceptance": {
|
184
|
+
"$ref": "#/$defs/CheckConfig"
|
185
|
+
},
|
186
|
+
"negative_data_rejection": {
|
187
|
+
"$ref": "#/$defs/CheckConfig"
|
188
|
+
},
|
189
|
+
"use_after_free": {
|
190
|
+
"$ref": "#/$defs/SimpleCheckConfig"
|
191
|
+
},
|
192
|
+
"ensure_resource_availability": {
|
193
|
+
"$ref": "#/$defs/SimpleCheckConfig"
|
194
|
+
},
|
195
|
+
"missing_required_header": {
|
196
|
+
"$ref": "#/$defs/CheckConfig"
|
197
|
+
},
|
198
|
+
"ignored_auth": {
|
199
|
+
"$ref": "#/$defs/SimpleCheckConfig"
|
200
|
+
},
|
201
|
+
"unsupported_method": {
|
202
|
+
"$ref": "#/$defs/SimpleCheckConfig"
|
203
|
+
},
|
204
|
+
"max_response_time": {
|
205
|
+
"$ref": "#/$defs/MaxResponseTimeConfig"
|
206
|
+
}
|
207
|
+
}
|
208
|
+
},
|
209
|
+
"SimpleCheckConfig": {
|
210
|
+
"type": "object",
|
211
|
+
"additionalProperties": false,
|
212
|
+
"properties": {
|
213
|
+
"enabled": {
|
214
|
+
"type": "boolean"
|
215
|
+
}
|
216
|
+
}
|
217
|
+
},
|
218
|
+
"MaxResponseTimeConfig": {
|
219
|
+
"type": "number",
|
220
|
+
"minimum": 0
|
221
|
+
},
|
222
|
+
"CheckConfig": {
|
223
|
+
"type": "object",
|
224
|
+
"additionalProperties": false,
|
225
|
+
"properties": {
|
226
|
+
"enabled": {
|
227
|
+
"type": "boolean"
|
228
|
+
},
|
229
|
+
"expected-statuses": {
|
230
|
+
"type": "array",
|
231
|
+
"items": {
|
232
|
+
"type": [
|
233
|
+
"integer",
|
234
|
+
"string"
|
235
|
+
]
|
236
|
+
}
|
237
|
+
}
|
238
|
+
}
|
239
|
+
},
|
240
|
+
"PhasesConfig": {
|
241
|
+
"type": "object",
|
242
|
+
"additionalProperties": false,
|
243
|
+
"properties": {
|
244
|
+
"examples": {
|
245
|
+
"$ref": "#/$defs/PhaseConfig"
|
246
|
+
},
|
247
|
+
"coverage": {
|
248
|
+
"$ref": "#/$defs/CoveragePhaseConfig"
|
249
|
+
},
|
250
|
+
"fuzzing": {
|
251
|
+
"$ref": "#/$defs/PhaseConfig"
|
252
|
+
},
|
253
|
+
"stateful": {
|
254
|
+
"$ref": "#/$defs/StatefulPhaseConfig"
|
255
|
+
}
|
256
|
+
}
|
257
|
+
},
|
258
|
+
"PhaseConfig": {
|
259
|
+
"type": "object",
|
260
|
+
"additionalProperties": false,
|
261
|
+
"properties": {
|
262
|
+
"enabled": {
|
263
|
+
"type": "boolean"
|
264
|
+
},
|
265
|
+
"generation": {
|
266
|
+
"$ref": "#/$defs/GenerationConfig"
|
267
|
+
},
|
268
|
+
"checks": {
|
269
|
+
"$ref": "#/$defs/ChecksConfig"
|
270
|
+
}
|
271
|
+
}
|
272
|
+
},
|
273
|
+
"StatefulPhaseConfig": {
|
274
|
+
"type": "object",
|
275
|
+
"additionalProperties": false,
|
276
|
+
"properties": {
|
277
|
+
"enabled": {
|
278
|
+
"type": "boolean"
|
279
|
+
},
|
280
|
+
"max-steps": {
|
281
|
+
"type": "integer",
|
282
|
+
"minimum": 2
|
283
|
+
},
|
284
|
+
"generation": {
|
285
|
+
"$ref": "#/$defs/GenerationConfig"
|
286
|
+
},
|
287
|
+
"checks": {
|
288
|
+
"$ref": "#/$defs/ChecksConfig"
|
289
|
+
}
|
290
|
+
}
|
291
|
+
},
|
292
|
+
"CoveragePhaseConfig": {
|
293
|
+
"type": "object",
|
294
|
+
"additionalProperties": false,
|
295
|
+
"properties": {
|
296
|
+
"enabled": {
|
297
|
+
"type": "boolean"
|
298
|
+
},
|
299
|
+
"unexpected-methods": {
|
300
|
+
"type": "array",
|
301
|
+
"items": {
|
302
|
+
"type": "string",
|
303
|
+
"pattern": "(?i)(?:GET|PUT|POST|DELETE|OPTIONS|PATCH|TRACE)"
|
304
|
+
},
|
305
|
+
"uniqueItems": true
|
306
|
+
},
|
307
|
+
"generation": {
|
308
|
+
"$ref": "#/$defs/GenerationConfig"
|
309
|
+
},
|
310
|
+
"checks": {
|
311
|
+
"$ref": "#/$defs/ChecksConfig"
|
312
|
+
}
|
313
|
+
}
|
314
|
+
},
|
315
|
+
"GenerationConfig": {
|
316
|
+
"type": "object",
|
317
|
+
"additionalProperties": false,
|
318
|
+
"properties": {
|
319
|
+
"mode": {
|
320
|
+
"enum": [
|
321
|
+
"positive",
|
322
|
+
"negative",
|
323
|
+
"all"
|
324
|
+
]
|
325
|
+
},
|
326
|
+
"max-examples": {
|
327
|
+
"type": "integer"
|
328
|
+
},
|
329
|
+
"no-shrink": {
|
330
|
+
"type": "boolean"
|
331
|
+
},
|
332
|
+
"deterministic": {
|
333
|
+
"type": "boolean"
|
334
|
+
},
|
335
|
+
"allow-x00": {
|
336
|
+
"type": "boolean"
|
337
|
+
},
|
338
|
+
"codec": {
|
339
|
+
"type": "string"
|
340
|
+
},
|
341
|
+
"exclude-header-characters": {
|
342
|
+
"type": "string"
|
343
|
+
},
|
344
|
+
"maximize": {
|
345
|
+
"anyOf": [
|
346
|
+
{
|
347
|
+
"enum": [
|
348
|
+
"response_time"
|
349
|
+
]
|
350
|
+
},
|
351
|
+
{
|
352
|
+
"type": "array",
|
353
|
+
"items": {
|
354
|
+
"enum": [
|
355
|
+
"response_time"
|
356
|
+
]
|
357
|
+
}
|
358
|
+
}
|
359
|
+
]
|
360
|
+
},
|
361
|
+
"with-security-parameters": {
|
362
|
+
"type": "boolean"
|
363
|
+
},
|
364
|
+
"graphql-allow-null": {
|
365
|
+
"type": "boolean"
|
366
|
+
},
|
367
|
+
"database": {
|
368
|
+
"type": "string"
|
369
|
+
},
|
370
|
+
"unique-inputs": {
|
371
|
+
"type": "boolean"
|
372
|
+
}
|
373
|
+
}
|
374
|
+
},
|
375
|
+
"OutputConfig": {
|
376
|
+
"type": "object",
|
377
|
+
"additionalProperties": false,
|
378
|
+
"properties": {
|
379
|
+
"sanitization": {
|
380
|
+
"type": "object",
|
381
|
+
"additionalProperties": false,
|
382
|
+
"properties": {
|
383
|
+
"enabled": {
|
384
|
+
"type": "boolean"
|
385
|
+
},
|
386
|
+
"keys-to-sanitize": {
|
387
|
+
"type": "array",
|
388
|
+
"items": {
|
389
|
+
"type": "string"
|
390
|
+
}
|
391
|
+
},
|
392
|
+
"sensitive-markers": {
|
393
|
+
"type": "array",
|
394
|
+
"items": {
|
395
|
+
"type": "string"
|
396
|
+
}
|
397
|
+
},
|
398
|
+
"replacement": {
|
399
|
+
"type": "string"
|
400
|
+
}
|
401
|
+
}
|
402
|
+
},
|
403
|
+
"truncation": {
|
404
|
+
"type": "object",
|
405
|
+
"additionalProperties": false,
|
406
|
+
"properties": {
|
407
|
+
"enabled": {
|
408
|
+
"type": "boolean"
|
409
|
+
},
|
410
|
+
"max-payload-size": {
|
411
|
+
"type": "integer",
|
412
|
+
"minimum": 1
|
413
|
+
},
|
414
|
+
"max-lines": {
|
415
|
+
"type": "integer",
|
416
|
+
"minimum": 1
|
417
|
+
},
|
418
|
+
"max-width": {
|
419
|
+
"type": "integer",
|
420
|
+
"minimum": 1
|
421
|
+
}
|
422
|
+
}
|
423
|
+
}
|
424
|
+
}
|
425
|
+
},
|
426
|
+
"ProjectConfig": {
|
427
|
+
"type": "object",
|
428
|
+
"additionalProperties": false,
|
429
|
+
"properties": {
|
430
|
+
"title": {
|
431
|
+
"type": "string"
|
432
|
+
},
|
433
|
+
"base-url": {
|
434
|
+
"type": "string"
|
435
|
+
},
|
436
|
+
"parameters": {
|
437
|
+
"type": "object"
|
438
|
+
},
|
439
|
+
"generation": {
|
440
|
+
"$ref": "#/$defs/GenerationConfig"
|
441
|
+
},
|
442
|
+
"checks": {
|
443
|
+
"$ref": "#/$defs/ChecksConfig"
|
444
|
+
},
|
445
|
+
"phases": {
|
446
|
+
"$ref": "#/$defs/PhasesConfig"
|
447
|
+
},
|
448
|
+
"auth": {
|
449
|
+
"$ref": "#/$defs/AuthConfig"
|
450
|
+
},
|
451
|
+
"operations": {
|
452
|
+
"type": "array",
|
453
|
+
"items": {
|
454
|
+
"$ref": "#/$defs/OperationConfig"
|
455
|
+
}
|
456
|
+
},
|
457
|
+
"headers": {
|
458
|
+
"additionalProperties": {
|
459
|
+
"type": "string"
|
460
|
+
},
|
461
|
+
"type": "object"
|
462
|
+
},
|
463
|
+
"hooks": {
|
464
|
+
"type": "string"
|
465
|
+
},
|
466
|
+
"proxy": {
|
467
|
+
"type": "string"
|
468
|
+
},
|
469
|
+
"workers": {
|
470
|
+
"type": "integer"
|
471
|
+
},
|
472
|
+
"wait-for-schema": {
|
473
|
+
"type": "number",
|
474
|
+
"minimum": 1
|
475
|
+
},
|
476
|
+
"continue-on-failure": {
|
477
|
+
"type": "boolean"
|
478
|
+
},
|
479
|
+
"tls-verify": {
|
480
|
+
"type": [
|
481
|
+
"boolean",
|
482
|
+
"string"
|
483
|
+
]
|
484
|
+
},
|
485
|
+
"rate-limit": {
|
486
|
+
"type": "string"
|
487
|
+
},
|
488
|
+
"request-timeout": {
|
489
|
+
"type": "number",
|
490
|
+
"minimum": 0
|
491
|
+
},
|
492
|
+
"request-cert": {
|
493
|
+
"type": "string"
|
494
|
+
},
|
495
|
+
"request-cert-key": {
|
496
|
+
"type": "string"
|
497
|
+
}
|
498
|
+
},
|
499
|
+
"required": [
|
500
|
+
"title"
|
501
|
+
]
|
502
|
+
},
|
503
|
+
"OperationConfig": {
|
504
|
+
"type": "object",
|
505
|
+
"additionalProperties": false,
|
506
|
+
"properties": {
|
507
|
+
"enabled": {
|
508
|
+
"type": "boolean"
|
509
|
+
},
|
510
|
+
"auth": {
|
511
|
+
"$ref": "#/$defs/AuthConfig"
|
512
|
+
},
|
513
|
+
"headers": {
|
514
|
+
"additionalProperties": {
|
515
|
+
"type": "string"
|
516
|
+
},
|
517
|
+
"type": "object"
|
518
|
+
},
|
519
|
+
"proxy": {
|
520
|
+
"type": "string"
|
521
|
+
},
|
522
|
+
"continue-on-failure": {
|
523
|
+
"type": "boolean"
|
524
|
+
},
|
525
|
+
"tls-verify": {
|
526
|
+
"type": [
|
527
|
+
"boolean",
|
528
|
+
"string"
|
529
|
+
]
|
530
|
+
},
|
531
|
+
"rate-limit": {
|
532
|
+
"type": "string"
|
533
|
+
},
|
534
|
+
"request-timeout": {
|
535
|
+
"type": "number",
|
536
|
+
"minimum": 0
|
537
|
+
},
|
538
|
+
"request-cert": {
|
539
|
+
"type": "string"
|
540
|
+
},
|
541
|
+
"request-cert-key": {
|
542
|
+
"type": "string"
|
543
|
+
},
|
544
|
+
"checks": {
|
545
|
+
"$ref": "#/$defs/ChecksConfig"
|
546
|
+
},
|
547
|
+
"phases": {
|
548
|
+
"$ref": "#/$defs/PhasesConfig"
|
549
|
+
},
|
550
|
+
"generation": {
|
551
|
+
"$ref": "#/$defs/GenerationConfig"
|
552
|
+
},
|
553
|
+
"include-path": {
|
554
|
+
"oneOf": [
|
555
|
+
{
|
556
|
+
"type": "string"
|
557
|
+
},
|
558
|
+
{
|
559
|
+
"type": "array",
|
560
|
+
"items": {
|
561
|
+
"type": "string"
|
562
|
+
}
|
563
|
+
}
|
564
|
+
]
|
565
|
+
},
|
566
|
+
"include-method": {
|
567
|
+
"oneOf": [
|
568
|
+
{
|
569
|
+
"type": "string"
|
570
|
+
},
|
571
|
+
{
|
572
|
+
"type": "array",
|
573
|
+
"items": {
|
574
|
+
"type": "string"
|
575
|
+
}
|
576
|
+
}
|
577
|
+
]
|
578
|
+
},
|
579
|
+
"include-name": {
|
580
|
+
"oneOf": [
|
581
|
+
{
|
582
|
+
"type": "string"
|
583
|
+
},
|
584
|
+
{
|
585
|
+
"type": "array",
|
586
|
+
"items": {
|
587
|
+
"type": "string"
|
588
|
+
}
|
589
|
+
}
|
590
|
+
]
|
591
|
+
},
|
592
|
+
"include-tag": {
|
593
|
+
"oneOf": [
|
594
|
+
{
|
595
|
+
"type": "string"
|
596
|
+
},
|
597
|
+
{
|
598
|
+
"type": "array",
|
599
|
+
"items": {
|
600
|
+
"type": "string"
|
601
|
+
}
|
602
|
+
}
|
603
|
+
]
|
604
|
+
},
|
605
|
+
"include-operation-id": {
|
606
|
+
"oneOf": [
|
607
|
+
{
|
608
|
+
"type": "string"
|
609
|
+
},
|
610
|
+
{
|
611
|
+
"type": "array",
|
612
|
+
"items": {
|
613
|
+
"type": "string"
|
614
|
+
}
|
615
|
+
}
|
616
|
+
]
|
617
|
+
},
|
618
|
+
"include-by": {
|
619
|
+
"type": "string"
|
620
|
+
},
|
621
|
+
"include-path-regex": {
|
622
|
+
"type": "string"
|
623
|
+
},
|
624
|
+
"include-name-regex": {
|
625
|
+
"type": "string"
|
626
|
+
},
|
627
|
+
"include-method-regex": {
|
628
|
+
"type": "string"
|
629
|
+
},
|
630
|
+
"include-tag-regex": {
|
631
|
+
"type": "string"
|
632
|
+
},
|
633
|
+
"include-operation-id-regex": {
|
634
|
+
"type": "string"
|
635
|
+
},
|
636
|
+
"exclude-path": {
|
637
|
+
"oneOf": [
|
638
|
+
{
|
639
|
+
"type": "string"
|
640
|
+
},
|
641
|
+
{
|
642
|
+
"type": "array",
|
643
|
+
"items": {
|
644
|
+
"type": "string"
|
645
|
+
}
|
646
|
+
}
|
647
|
+
]
|
648
|
+
},
|
649
|
+
"exclude-method": {
|
650
|
+
"oneOf": [
|
651
|
+
{
|
652
|
+
"type": "string"
|
653
|
+
},
|
654
|
+
{
|
655
|
+
"type": "array",
|
656
|
+
"items": {
|
657
|
+
"type": "string"
|
658
|
+
}
|
659
|
+
}
|
660
|
+
]
|
661
|
+
},
|
662
|
+
"exclude-name": {
|
663
|
+
"oneOf": [
|
664
|
+
{
|
665
|
+
"type": "string"
|
666
|
+
},
|
667
|
+
{
|
668
|
+
"type": "array",
|
669
|
+
"items": {
|
670
|
+
"type": "string"
|
671
|
+
}
|
672
|
+
}
|
673
|
+
]
|
674
|
+
},
|
675
|
+
"exclude-tag": {
|
676
|
+
"oneOf": [
|
677
|
+
{
|
678
|
+
"type": "string"
|
679
|
+
},
|
680
|
+
{
|
681
|
+
"type": "array",
|
682
|
+
"items": {
|
683
|
+
"type": "string"
|
684
|
+
}
|
685
|
+
}
|
686
|
+
]
|
687
|
+
},
|
688
|
+
"exclude-operation-id": {
|
689
|
+
"oneOf": [
|
690
|
+
{
|
691
|
+
"type": "string"
|
692
|
+
},
|
693
|
+
{
|
694
|
+
"type": "array",
|
695
|
+
"items": {
|
696
|
+
"type": "string"
|
697
|
+
}
|
698
|
+
}
|
699
|
+
]
|
700
|
+
},
|
701
|
+
"exclude-by": {
|
702
|
+
"type": "string"
|
703
|
+
},
|
704
|
+
"exclude-path-regex": {
|
705
|
+
"type": "string"
|
706
|
+
},
|
707
|
+
"exclude-method-regex": {
|
708
|
+
"type": "string"
|
709
|
+
},
|
710
|
+
"exclude-name-regex": {
|
711
|
+
"type": "string"
|
712
|
+
},
|
713
|
+
"exclude-tag-regex": {
|
714
|
+
"type": "string"
|
715
|
+
},
|
716
|
+
"exclude-operation-id-regex": {
|
717
|
+
"type": "string"
|
718
|
+
},
|
719
|
+
"parameters": {
|
720
|
+
"type": "object"
|
721
|
+
}
|
722
|
+
},
|
723
|
+
"anyOf": [
|
724
|
+
{
|
725
|
+
"required": [
|
726
|
+
"include-path"
|
727
|
+
]
|
728
|
+
},
|
729
|
+
{
|
730
|
+
"required": [
|
731
|
+
"include-method"
|
732
|
+
]
|
733
|
+
},
|
734
|
+
{
|
735
|
+
"required": [
|
736
|
+
"include-name"
|
737
|
+
]
|
738
|
+
},
|
739
|
+
{
|
740
|
+
"required": [
|
741
|
+
"include-tag"
|
742
|
+
]
|
743
|
+
},
|
744
|
+
{
|
745
|
+
"required": [
|
746
|
+
"include-operation-id"
|
747
|
+
]
|
748
|
+
},
|
749
|
+
{
|
750
|
+
"required": [
|
751
|
+
"include-by"
|
752
|
+
]
|
753
|
+
},
|
754
|
+
{
|
755
|
+
"required": [
|
756
|
+
"include-path-regex"
|
757
|
+
]
|
758
|
+
},
|
759
|
+
{
|
760
|
+
"required": [
|
761
|
+
"include-method-regex"
|
762
|
+
]
|
763
|
+
},
|
764
|
+
{
|
765
|
+
"required": [
|
766
|
+
"include-name-regex"
|
767
|
+
]
|
768
|
+
},
|
769
|
+
{
|
770
|
+
"required": [
|
771
|
+
"include-tag-regex"
|
772
|
+
]
|
773
|
+
},
|
774
|
+
{
|
775
|
+
"required": [
|
776
|
+
"include-operation-id-regex"
|
777
|
+
]
|
778
|
+
},
|
779
|
+
{
|
780
|
+
"required": [
|
781
|
+
"exclude-path"
|
782
|
+
]
|
783
|
+
},
|
784
|
+
{
|
785
|
+
"required": [
|
786
|
+
"exclude-method"
|
787
|
+
]
|
788
|
+
},
|
789
|
+
{
|
790
|
+
"required": [
|
791
|
+
"exclude-name"
|
792
|
+
]
|
793
|
+
},
|
794
|
+
{
|
795
|
+
"required": [
|
796
|
+
"exclude-tag"
|
797
|
+
]
|
798
|
+
},
|
799
|
+
{
|
800
|
+
"required": [
|
801
|
+
"exclude-operation-id"
|
802
|
+
]
|
803
|
+
},
|
804
|
+
{
|
805
|
+
"required": [
|
806
|
+
"exclude-by"
|
807
|
+
]
|
808
|
+
},
|
809
|
+
{
|
810
|
+
"required": [
|
811
|
+
"exclude-path-regex"
|
812
|
+
]
|
813
|
+
},
|
814
|
+
{
|
815
|
+
"required": [
|
816
|
+
"exclude-method-regex"
|
817
|
+
]
|
818
|
+
},
|
819
|
+
{
|
820
|
+
"required": [
|
821
|
+
"exclude-name-regex"
|
822
|
+
]
|
823
|
+
},
|
824
|
+
{
|
825
|
+
"required": [
|
826
|
+
"exclude-tag-regex"
|
827
|
+
]
|
828
|
+
},
|
829
|
+
{
|
830
|
+
"required": [
|
831
|
+
"exclude-operation-id-regex"
|
832
|
+
]
|
833
|
+
}
|
834
|
+
]
|
835
|
+
}
|
836
|
+
}
|
837
|
+
}
|