Hi all :wave:, Is there a tool to publish an open...
# pactflow
n
Hi all 👋, Is there a tool to publish an openapi yaml to pactflow? Or do we need to create a script to do this? I see in this example https://github.com/pactflow/example-bi-directional-provider-postman/blob/master/test/publish.js that there is a js script to do this but i'm wondering if there is some kind of pact tool already created to simply take an openapi file an publish it to pactflow?
m
Yes, there is a CLI for it: https://docs.pactflow.io/docs/bi-directional-contract-testing/contracts/oas#publishing-the-provider-contract--results-to-pactflow The example pre-dates the CLI. We’ll get it updated soon
y
The example isn’t using that file any more, but it hadn’t been removed, have done so now 👍
🙏 1