Contributions
How to represent XML repeating tags in Swagger
I have a simple question. We have a web service which brings (response) a XML which has repeating tags. Our XML is simplified below. <response> <Product><code>C</code> <description>car</description></Product> <Product><code>b</code> <description>bike</description></Product> <Product><code>t</code> <description>tractor</description></Product> </response> Response tag can have any number of Product tags under it. When creating a swagger defintion for the responsesection how do we represent this repeating nature of the Product tag?? Is it necessary to do so??981Views0likes0Comments