Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated maven dependency and tehcnical notes #9

Merged
merged 1 commit into from
Feb 14, 2024
Merged
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
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ For Maven users:

```xml
<dependency>
<groupId>org.wiremock</groupId>
<artifactId>wiremock-faker-extension</artifactId>
<version>0.1.0</version>
<groupId>org.wiremock.extensions</groupId>
<artifactId>wiremock-faker-extension-standalone</artifactId>
<version>0.1.1</version>
</dependency>
```

For Gradle users:

```groovy
dependencies {
implementation 'org.wiremock:wiremock-faker-extension:0.1.0'
implementation 'org.wiremock.extensions:wiremock-faker-extension-standalone:0.1.1'
}
```

Expand All @@ -41,3 +41,8 @@ new WireMockServer(wireMockConfig().extensions(RandomExtension.class));
{% endraw %}

This will generate random first names in the `en-US` locale for every request.


### Technical notes
This library brings `net.datafaker:datafaker` as transitive dependency, which may result in conflicts at building time.
If that's the case, the `net.datafaker:datafaker` dependency needs to be excluded.
Loading