'Does Pact net supports application/json-patch+json content type?
I am currently not able to create contracts for the API calls that takes JsonPatchDocument object as body in PATCH request. Although I tried to build the body (JsonPatchDocument) using ExpandoObject Pact is considering the body content type as application/json only.
Can someone please help? looks none of our services that has got JsonPatchDocument object can be tested.
Solution 1:[1]
Pact should support this content type (it's still valid JSON, it's just a specific shape). If it doesn't, it's a bug and should be fixed.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Matthew Fellows |
