Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…mkdocs
  • Loading branch information
oleg-nenashev committed Dec 10, 2023
2 parents 045e7e7 + 2087eba commit 5428323
Show file tree
Hide file tree
Showing 11 changed files with 1,665 additions and 860 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
downloads.html
c.html
16 changes: 16 additions & 0 deletions _docs/response-templating.md
Original file line number Diff line number Diff line change
Expand Up @@ -631,6 +631,18 @@ Likewise decimals can be produced with or without bounds:

{% endraw %}

## Fake data helpers

This helper produces random fake data of the desired types available in the [Data Faker library](https://github.com/datafaker-net/datafaker). Due to the size of this library, this helper has been provided via [`RandomExtension`](https://github.com/wiremock/wiremock-faker-extension).
{% raw %}

```handlebars
{{random 'Name.first_name'}}
{{random 'Address.postcode_by_state.AL' }}
```

{% endraw %}

## Math helper

The `math` (or maths, depending where you are) helper performs common arithmetic operations. It can accept integers, decimals
Expand Down Expand Up @@ -926,3 +938,7 @@ public WireMockRule wm = new WireMockRule(options()
)
);
```

The regular expressions are matched in a case-insensitive manner.
If no permitted system key patterns are set, a single default of `wiremock.*` will be used.

2 changes: 1 addition & 1 deletion _docs/standalone/java-jar.md
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ src/main/resources/wiremock-stuff/mappings
You could then run the packaged JAR as:

```
java -jar custom-wiremock.jar --load-resources-from-classpath 'wiremock-stuff'
java -jar custom-wiremock.jar --load-resources-from-classpath wiremock-stuff
```

Which will load your files and mappings from the packaged JAR.
Expand Down
Loading

0 comments on commit 5428323

Please sign in to comment.