Interface: WiremockRequestCriteria
Defined in: src/index.ts:366
WireMock request-matching criteria; unknown fields pass through.
See
Indexable
[field: string]: unknown
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
bodyPatterns? | readonly | readonly object[] | E.g. [{ equalToJson: { id: 1 } }]. | src/index.ts:382 |
headers? | readonly | Readonly<Record<string, unknown>> | E.g. { "Content-Type": { equalTo: "application/json" } }. | src/index.ts:378 |
method? | readonly | string | E.g. "GET"; "ANY" matches every method. | src/index.ts:368 |
queryParameters? | readonly | Readonly<Record<string, unknown>> | E.g. { page: { equalTo: "1" } }. | src/index.ts:380 |
url? | readonly | string | Exact path and query string. | src/index.ts:370 |
urlPath? | readonly | string | Exact path, any query string. | src/index.ts:372 |
urlPathPattern? | readonly | string | Regex for the path. | src/index.ts:374 |
urlPattern? | readonly | string | Regex for path and query string. | src/index.ts:376 |