Omar Sadd
10/05/2022, 2:55 PMYousaf Nabi (pactflow.io)
Omar Sadd
10/05/2022, 3:16 PMYousaf Nabi (pactflow.io)
pactflow publish-provider-contract \
oas.yaml \
--provider test \
--provider-app-version 1.0.1-some-sha \
--branch test \
--content-type application/yaml \
--verification-exit-code=0 \
--verification-results oas.yaml \
--verification-results-content-type application/yaml \
--verifier test
Omar Sadd
10/05/2022, 3:30 PMYousaf Nabi (pactflow.io)
Yousaf Nabi (pactflow.io)
application/yaml
for your OAS and application/json
for the collection, although you should be passing in the output of your test run, I assume with newman. as text/plain
this param is also spelt incorrectly --verification-resultats-content-type
it should be --verification-results-content-type
Omar Sadd
10/05/2022, 3:43 PMMatt (pactflow.io / pact-js / pact-go)
Omar Sadd
10/06/2022, 7:18 AM