@@ -102,7 +102,7 @@ Unlike the mock service, which has a Ruby DSL for managing its lifecycle, the mo
102
102
103
103
```
104
104
Usage:
105
- pact-stub-service PACT ...
105
+ pact-stub-service PACT_URI ...
106
106
107
107
Options:
108
108
-p, [--port=PORT] # Port on which to run the service
@@ -115,11 +115,15 @@ Options:
115
115
[--sslkey=SSLKEY] # Specify the path to the SSL key to use when running the service over HTTPS
116
116
117
117
Description:
118
- Start a stub service with the given pact file(s). Where multiple matching interactions are found, the
119
- interactions will be sorted by response status, and the first one will be returned. This may lead to some
120
- non-deterministic behaviour. If you are having problems with this, please raise it on the pact-dev google
121
- group, and we can discuss some potential enhancements. Note that only versions 1 and 2 of the pact
122
- specification are currently supported.
118
+ Start a stub service with the given pact file(s). Pact URIs may be local file paths or HTTP.
119
+ Include any basic auth details in the URL using the format https://USERNAME:PASSWORD@URI.
120
+ Where multiple matching interactions are found, the interactions will be sorted by
121
+ response status, and the first one will be returned. This may lead to some non-deterministic
122
+ behaviour. If you are having problems with this, please raise it on the pact-dev google group,
123
+ and we can discuss some potential enhancements.
124
+ Note that only versions 1 and 2 of the pact specification are currently fully supported.
125
+ Pacts using the v3 format may be used, however, any matching features added in v4 will
126
+ currently be ignored.
123
127
```
124
128
125
129
## Contributing
0 commit comments