Hi, i generated OpenAPI spec file using this metho...
# pactflow
b
Hi, i generated OpenAPI spec file using this method : https://www.meziantou.net/generate-openapi-specification-at-build-time-from-the-code-in-asp-net-core.htm Now i wanted to publish it to pacftlow as a provider pact. How i can achieve this ? Currently i have following errors:
m
You don't use the usual pact publish command, you use the Pactflow publish provider contract command
✅ 1
b
its bit not clear for me whats the purpose and how to achievie step 2
not sure whats the easiest way
i cannot use any paid tools or restassured
i have some api tests written in .net
m
The point is that you should test it to your satisfaction. You can use whatever tool, process or otherwise that you deem sufficient
✅ 1
b
So for example it can be even integration tests written in .net which are producing some results and those should be uploaded together with OAS spec
m
yep, that’s one option
✅ 1