Skip to content

Commit

Permalink
Merge pull request #9 from dieppa/main
Browse files Browse the repository at this point in the history
updated maven dependency and tehcnical notes
  • Loading branch information
dieppa authored Feb 14, 2024
2 parents e0972e3 + b60155b commit cab8c10
Showing 1 changed file with 9 additions and 4 deletions.
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.

0 comments on commit cab8c10

Please sign in to comment.