Comment 2 for bug 1421402

Revision history for this message
Katherine Cox-Buday (cox-katherine-e) wrote :

Yeah, I immediately ran into a question: how do you represent arrays?

So far I've found the following:
https://technet.microsoft.com/en-us/library/dn690140(v=vs.111).aspx

The Images WADL attempts to address this:
https://github.com/openstack/api-site/blob/8d8b52872318bdb2eac6dcb06ddbcd78fe67eeee/api-ref/src/wadls/image-api/src/v2/os-image-v2.wadl#L147

But that's a bit strange because it incorrectly defines the array as an xsd:string:
https://github.com/openstack/api-site/blob/6e6cfbb89966ceb9dfd0eeda8be11b328743c1ed/api-ref/src/wadls/image-api/src/v2/common.ent#L171

Is the technique outlined by the Microsoft article acceptable, or is there another example I can follow?