Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/content/docs/docs/request-matching.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ WireMock enables flexible definition of a mock API by supporting rich matching o
- Multipart/form-data
- Client IP (as of WireMock version `3.13.0`)

Most Java examples on this page use static imports from `WireMock`:

```java
import static com.github.tomakehurst.wiremock.client.WireMock.*;
```

Here's an example showing all attributes being matched using WireMock's in-built match operators. It is also possible to write [custom matching logic](../extending-wiremock/#custom-request-matchers/) if
you need more precise control:

Expand Down
6 changes: 6 additions & 0 deletions src/content/docs/docs/stubbing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ import CloudCallout from '../../../components/CloudCallout.astro';
A core feature of WireMock API mocking is the ability to return canned HTTP
responses for requests matching criteria. These are described in detail in [Request Matching](../request-matching/).

Most Java examples on this page use static imports from `WireMock`:

```java
import static com.github.tomakehurst.wiremock.client.WireMock.*;
```


## Basic stubbing

Expand Down