XML schemas in RAML - How to do?


#1

So I’m writing a schema based on a XML request and it seems I’m failing miserably.
Testing in raml-parser or via api-designer I have the same error message: schemas property must be an array.

I tried raw xsd on a xsd file and referencing it on my .raml file but it doesn’t work either.
How can I use a xml schema (xsd or any other accepted way to represent a xml schema in raml) in my raml? Is there any sample around? Json based schemas work fine by the way.

Currently I’m using 0.8 Raml Parser version and unfortunately upgrading it to 1.0 is not an option at the moment.

Thanks in advance.


#2

Can you post your RAML document? Maybe it helps to identify the problem easier.