DavidThielen
5 years agoOccasional Contributor
Why is an XML node not matshing my yaml (adds a s)
For the API at https://app.swaggerhub.com/apis/Windward-Studios/windward-rest_ful_api/2.0#free If you look at the XML (not JSON) for POST v2/document, inside it it has <Datasets> <Datasets> ...
- 5 years ago
Hi David,
Add xml.name to the DataSet schema:
xml: name: Dataset
When using arrays in XML, singular/plural element names are not inferred and need to be explicitly defined using xml.name.