Skip to content
Draft
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
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Version 4.0 (V4)
# Version 4.1 (V4.1)

This describes version 4.0 of the Pact file format, as well as associated behaviour for matching and verifying them.
For all the changes, refer to the RFC [#71](https://github.com/pact-foundation/pact-specification/issues/71)
Expand Down Expand Up @@ -686,6 +686,7 @@ a JSON Path like expression.
| RandomBoolean | V3 | `{"type": "RandomBoolean"}` | Generates a random boolean value |
| ProviderState | V4 | `{"expression": "/api/user/${id}", type": "ProviderState"}` | Generates a value that is looked up from the provider state context using the given expression |
| MockServerURL | V4 | `{"regex": ".*\\/(orders\\/\\d+)$", "example": "http://localhost:1234/orders/5678", type": "MockServerURL"}` | Generates a URL with the mock server as the base URL. |
| RandomArray | V4.1 | `{"max": 299, "min": 200, "type": "RandomArray"}` | Generates a random array with number of items between the min and max values (inclusive) |

#### Comments

Expand Down