Skip to content

Commit b4e0c7d

Browse files
authored
Merge branch 'main' into oleg-nenashev-patch-1
2 parents 6d3f325 + 90ca7e1 commit b4e0c7d

File tree

2 files changed

+2067
-2
lines changed

2 files changed

+2067
-2
lines changed

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ For Gradle users:
2525

2626
```groovy
2727
dependencies {
28-
implementation 'org.wiremock:wiremock-faker-extension:0.1.0'
28+
implementation 'org.wiremock.extensions:wiremock-faker-extension-standalone:0.1.1'
2929
}
3030
```
3131

@@ -39,8 +39,17 @@ new WireMockServer(wireMockConfig().extensions(RandomExtension.class));
3939

4040
### Step 3: Use it in your stubs!
4141

42-
```yaml
42+
{% raw %}
43+
```handlebars
4344
{{ random 'Name.first_name' }}
4445
```
46+
{% endraw %}
4547

4648
This will generate random first names in the `en-US` locale for every request.
49+
50+
51+
### Technical notes
52+
This library brings `net.datafaker:datafaker` as transitive dependency, which may result in conflicts at building time.
53+
If that's the case, the `net.datafaker:datafaker` dependency needs to be excluded.
54+
55+
For a full reference of the available keys, see the [Reference Documentation](./docs/reference.md).

0 commit comments

Comments
 (0)