<#CLS16AVEE|> Response Body is incompatible with ...
# pactflow
v
#CLS16AVEE Response Body is incompatible with the response body schema in the spec file: should NOT have additional properties - itemA mismatched at: .........: Support ticket case: #00565086 My provider response object contains in this format: Body: { "listAddressCustomerResponse": { "item":"" }, "*addressCustomerResponse*": { "itemA": [ { different objects }, { different objects } ], "itemB": [ { different objects }, { different objects } ] } } The consumer contract is passing only if I don't mention addressCustomerResponse object which contains the array objects. Can someone let me know whether the response can contain the array objects within an object.
m
Hi Venkat! I’ve responded to the ticket just now. FYI no need to repost here after sending to support, it will get routed to the team for review. You can ask your question in here first if you like and we can work through it, and if we need to create a ticket to track it, we can. TL;DR - invalid OAS.
v
Thanks, Matt, will do next time.
👍 1
m
P.s. I noticed the ticket did take a while to get to us. I'm following up (and understand why you may have wanted to reach out)