-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support JSON:API #97
Comments
I also created this feature request. |
There is currently a bug in relation to this. It is scheduled for fixing in this quarter (Q2). I'll leave this open for now to track it. |
Related issue: pactflow/swagger-mock-validator#12 |
Hi @ThomasKoppensteiner, thanks for raising this. I might close the canny feature request, as this would be a feature request for PactFlow, rather than one for the open source project Pact. Hope that is okay, and we can use this tracker for the PactFlow roadmap, and the linked issue for any action to resolve 👍🏾 |
pactflow/swagger-mock-validator#25 and pactflow/swagger-mock-validator#26 should now address this. We'll be integrating that into PactFlow shortly after. |
Hello,
we are using JSON:API (https://jsonapi.org/) for many of our APIs.
JSON:API is a sub-type of JSON and uses
application/vnd.api+json
as MIME type.I discovered, that additional undocumented parameters in response bodies are not detected as a violation of the contract,
if
application/vnd.api+json
is used. If simplyapplication/json
is used as content type the violation is detected.The
additionalProperties
option is set tofalse
in the OAS file.Can you please add full support for JSON:API (
application/vnd.api+json
) by handling it similar to plainapplication/json
?The text was updated successfully, but these errors were encountered: