Skip to main content

Module predicate

Module predicate 

Source
Expand description

Predicate types for matching requests against stubs.

These are pure data types (no matching logic) so they can be shared across the workspace — the proxy for matching, the linter for concrete-type validation.

Structs§

Predicate
A single predicate: matcher parameters plus the operation to apply.
PredicateParameters
Matcher parameters shared across operations (case sensitivity, selectors, etc.).

Enums§

PredicateOperation
The matching operation a predicate performs (Mountebank-compatible).
PredicateSelector
A structured selector applied to the request body before matching.