File tree Expand file tree Collapse file tree 2 files changed +2067
-2
lines changed Expand file tree Collapse file tree 2 files changed +2067
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ For Gradle users:
2525
2626``` groovy
2727dependencies {
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
4648This 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 ) .
You can’t perform that action at this time.
0 commit comments