You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**External file `$ref` resolution** - Split specs across multiple files with relative `$ref` references (auto-detected from spec path, or set `base-path` in config)
Copy file name to clipboardExpand all lines: docs/configuration.md
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -427,6 +427,25 @@ filter:
427
427
- deleteUser
428
428
```
429
429
430
+
### Filter by Webhooks
431
+
432
+
Filter webhook entries by name. This is useful for OpenAPI 3.1 specs that define [webhooks](https://spec.openapis.org/oas/v3.1.0#fixed-fields) -
433
+
schemas referenced by included webhooks are preserved during pruning.
434
+
435
+
```yaml
436
+
filter:
437
+
include:
438
+
webhooks:
439
+
- order.created
440
+
- payment.completed
441
+
exclude:
442
+
webhooks:
443
+
- internal.debug
444
+
```
445
+
446
+
Webhook operations also respect tag and operation ID filters - if a webhook's operation doesn't match the tag/operation ID filter,
447
+
it will be removed just like path operations.
448
+
430
449
### Filter by Schema Properties
431
450
432
451
Filter which properties are included in generated types. This triggers **transitive pruning** - schemas that are only referenced by filtered-out properties will also be pruned.
0 commit comments