Daniel Phillips
08/28/2025, 11:12 AMAVJ processing has been throwing the error: "message": "discriminator: mapping is not supported".
It seems to me like something has changed on the Pactflow side?
For example if I reupload the latest working version of my OAS spec, Pactflow processes it correctly. It looks like it's loading the comparison from cache as it shows:
Comparison details
Compared at
2025-08-18 11:57:19 GMT+1
Verifier
pactflow-openapi-pact-comparator
Version
1.5.1
Then, if I simply change the version attribute in the OAS and no changes whatsoever to the rest of the OAS, I get the error
info:
version: {bump this}
I can also see that the comparison details show a brand new comparison:
Comparison details
Compared at
9 minutes ago
Verifier
pactflow-openapi-pact-comparator
Version
1.6.0
The key difference seems to be that version 1.6.0 throws the error on identical yaml contentsMatt (pactflow.io / pact-js / pact-go)
mapping (in this PR)Matt (pactflow.io / pact-js / pact-go)
Daniel Phillips
08/28/2025, 12:02 PMDaniel Phillips
08/28/2025, 12:03 PMMatt (pactflow.io / pact-js / pact-go)