Hi, Regarding x-chase-api-store-servers which is a...
# pactflow
l
Hi, Regarding x-chase-api-store-servers which is added in API Marketplace and old server values are removed from swagger (I mean servers.url property).This causes pactflow contract tests (go/pactflow) fail to determine basepath. And when we check with API Marketplace team , they mentioned API Marketplace doesn't allow servers.url in the spec by default due to policy. So can you assist with the alternate option to this to pactflow to work, because when we try to run the pactflow , it is failing with basepath is empty
m
there is a lot of information here that I think relies on internal knowledge of your setup Lavanya. could you please elaborate? I think what you’re saying is that the PactFlow BDCT checks don’t match because the base path in the consumer tests don’t match the paths in the OAD, because the base URL/servers component is removed? For that, you can use the
x-opc-config-base-path
extension as documented here: https://docs.pactflow.io/docs/bi-directional-contract-testing/contracts/oas/configuration