Forum Discussion
MarcusJ
Staff
7 years agoHi,
We have opened an internal defect to fix this issue. As a workaround for now, please add examples directly in the responses to override the XML response that is returned by the auto mock integration as below.
responses:
'200':
description: search results matching criteria
content:
application/xml:
schema:
...
example: |
<inventoryItems>
<!-- ... -->
</inventoryItems>
Regards,
Marcus James
SmartBear Support