Oleksandr.Boiko
07/28/2025, 8:19 AMYousaf Nabi (pactflow.io)
Yousaf Nabi (pactflow.io)
--verification-exit-code=0
and set the following here to the provider contract
[--verification-results=VERIFICATION_RESULTS]
# The path to the file containing the output from the
verification process
[--verification-results-content-type=VERIFICATION_RESULTS_CONTENT_TYPE]
# The content type of the verification output eg. text/plain,
application/yaml
We do that here are part of a design feedback loop
https://github.com/pactflow/example-provider/blob/26ccbd26caf60c67c0e799e068bcb1ce2499b355/.github/workflows/ProviderDesignFeedback.yml#L45-L49
as shown in this demo
https://docs.pactflow.io/docs/workshops/quick_starts/design_first#publish-your-provider-design-spec-to-pactflow
it could be raised as a feature request on the pactflow roadmap
https://github.com/pact-foundation/roadmap
as we do have a good amount of users who use generated openapi specs, it may be something we want to roll into the cli. Like an autogenerated flag for example which defaults some options so the user doesn’t need to provide. It may even be nice to distinguish which services or contracts are hand written or autogenerated, for surveying your API landscapeOleksandr.Boiko
07/28/2025, 11:37 AM